Quantcast
Channel: TryCatch – The Lonely Administrator
Viewing all articles
Browse latest Browse all 2

Try and Catch Me If You Can

$
0
0
In looking at entries in this year’s Scripting Games, as well as posts I see in PowerShell forums, I thought I’d post a short guide to properly using Try/Catch. This is the way I think it should be used. Let’s start with a Try/Catch block that might look ok. Try { Get-Service Foo } Catch … Continue reading Try and Catch Me If You Can

Viewing all articles
Browse latest Browse all 2

Trending Articles