Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Having problems grasping error handling.

$
0
0

Thanks,

I have the registry actions working. And I could have even cheesed it by increasing my else chain but then it would "try to connect" 4 times and then print out an invalid message for a non-existent server. My goal was to force "Fail" computer to not attempt to modify registry values while the good ones work.

I see how you changed the precedence of code execution. That makes sense and I suspect it will fix my problem. So thanks a bunch.


Viewing all articles
Browse latest Browse all 13067

Trending Articles