Hey, Scripting Guy! How Can I Use $ErrorActionPreference to Control Cmdlet Handling of Errors?

Hey, Scripting Guy! One thing I liked about using VBScript is that I could add On Error Resume Next to the top of a script, and all my problems with the script went away. It was like magic, and I used it to fix many of my scripts. I really miss this capability Read More...

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


Posted Mar 08 2010, 02:01 AM by Hey, Scripting Guy! Blog : Windows PowerShell
Copyright 2012 PowerShell.com. All rights reserved.