Hey, Scripting Guy! How Can I Use Try/Catch/Finally in Windows PowerShell?

Hey, Scripting Guy! One thing I miss in Windows PowerShell is the ability to use a Try/Catch/Finally block that I can use in C#. To me it is an elegant solution to error handling. You attempt something, catch any resulting errors, and clean up the mess Read More...

Read the complete post at http://blogs.technet.com/heyscriptingguy/archive/2010/03/11/hey-scripting-guy-march-11-2010.aspx


Posted Mar 11 2010, 02:01 AM by Hey, Scripting Guy! Blog : Windows PowerShell
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.