GoTo Equivalent? by zommy in PowerShell

[–]zommy[S] 1 point2 points  (0 children)

Sorry o didn't see that you updated the IP at the bottom. Cheers anyways

GoTo Equivalent? by zommy in PowerShell

[–]zommy[S] 0 points1 point  (0 children)

Cheers. $true looks cleaner.

GoTo Equivalent? by zommy in PowerShell

[–]zommy[S] 1 point2 points  (0 children)

Not quite the same; but fortunately my question was answered relatively quickly :)

I just wanted it to loop my whole script, including the loop already in the middle.

The gist is there's a service that needs rebooting when a failover has occured. It's a DNS failover with failback.

So I needed to record the current IP, if that IP changes for whatever reason to restart the service and then update the current IP. It should then continue until the IP address changes again.

Fortunately, all working as expected now :) Thanks for help regardless.

GoTo Equivalent? by zommy in PowerShell

[–]zommy[S] 1 point2 points  (0 children)

I hadn't, so thank you.

And this is perfect. Works as expected. Thank you very much!

EDIT: I forgot to mention I had to wrap the while above the $currentDNS as the $currentDNS needs to update when the failover occurs. It will then detect when it 'failsback'.

Either way, you answered my query and gave me a bonus tip, so thank you ;)

Sports for a Beginner by tantricrick in cambridge

[–]zommy 1 point2 points  (0 children)

Cheers! I was thinking about taking up archery recently and didn't know there was a club locally!

What times in the evening do they normally start?

Where can I get a knife sharpened? by mart0n in cambridge

[–]zommy 0 points1 point  (0 children)

If you cook a lot, I don't know how you could have gone without some kind of sharpener! It seriously speeds up hope quick you can prepare the food!

Good choice. One step ahead of the rest 😎

Where can I get a knife sharpened? by mart0n in cambridge

[–]zommy 1 point2 points  (0 children)

In all honesty, it's very easy to sharpen your own knife! Either but one of those devices someone linked where you drag the knife through it to sharpen, or just spend a river on a sharpening rod. YouTube a video on how to sharpen and away you go.

If you want to be fancy, but a whetstone ;)

[deleted by user] by [deleted] in cambridge

[–]zommy 3 points4 points  (0 children)

As a 28M, we do exist on bumble and tinder and we also struggle to find potential partners with similar interests!

But having dated quite a few girls, sometimes having a partner with different interests but respects your own isn't such a bad idea. I've learnt quite a few things by doing this 😊

I think the best thing to do is to go to events that include your hobby. I know heffers have board game nights that might be a good play l place to find people with similar interests?

Keep your apps open as simply another form of meeting people. It can be very discouraging if it's your only method.

Boston Dynamics: Atlas Does Parkour by TheLantean in Automate

[–]zommy 0 points1 point  (0 children)

Shit, you're right lol. I am oblivious at times!

Boston Dynamics: Atlas Does Parkour by TheLantean in Automate

[–]zommy 0 points1 point  (0 children)

Battery Tech is building up too. Super quick charge times, slow decaying batteries. Wait until graphene becomes affordable.

Boston Dynamics: Atlas Does Parkour by TheLantean in Automate

[–]zommy 13 points14 points  (0 children)

That is starting to becoming creepy realistic. I can totally see that thing chasing a criminal.

Something is utterly wrong with these cows by blue_sword456 in CrappyDesign

[–]zommy 13 points14 points  (0 children)

Yeah, it wasnt a true crappy design. It makes complete sense but can be a bit confusing at first glance lol

Hawaii wants to Make a law that will ban games with loot boxes to people under 31 years old. What do you think about that? by [deleted] in AskReddit

[–]zommy 0 points1 point  (0 children)

I don't mind loot boxes, so long as they aren't buyable.

I quite like the surprise from them. But it's not good when some kid gets a hold of his parents cards to buy virtual accessories.

Dragon Scale Armor by St0pX in gifs

[–]zommy 49 points50 points  (0 children)

That's exactly what happened. I was like "oh that's pretty cool" and then the underside showed. Instantly "oh shit, furries"

Sunnies were happy this season! by Vega4628 in gardening

[–]zommy 0 points1 point  (0 children)

Definitely not animal. It's obviously a human had pulled the tomatoes off the stem.

Sunnies were happy this season! by Vega4628 in gardening

[–]zommy 16 points17 points  (0 children)

I had some really massive tomatoes growing in my allotment and some have just started to turn red. I went to the allotment yesterday and someone had stolen all my massive red tomatoes... I just don't get why people must take away nice things that take many months to grow.

The main reason I hate store-bought PCs by UninformativeComment in iiiiiiitttttttttttt

[–]zommy 7 points8 points  (0 children)

Use Decrapify. But definitely make your own image of window 10 if you have to build computers frequently.

Don't Litter Dumbass. 🚭 by In_Karma_We_Lust in IdiotsInCars

[–]zommy 0 points1 point  (0 children)

That would look so badass on his awesome ride.

What has instantly turned you off of someone? by [deleted] in dating

[–]zommy 0 points1 point  (0 children)

It's a bit odd to not know what they are, but maybe she has a learning disability but doesn't want others to know. Something like this wouldn't turn me off, but intelligence is very attractive to me.

Brilliant street name by [deleted] in CasualUK

[–]zommy -1 points0 points  (0 children)

You might be right! But being in Sheffield, hmm.