Showing results for troubleshooting - Scripting Blog [archived]

Jul 10, 2010
0
0

Hey, Scripting Guy! Weekend Scripter: Getting Closure with the GetNewClosure Method

ScriptingGuy1
ScriptingGuy1

  Microsoft Scripting Guy Ed Wilson here. The first weekend after vacation—ah! During my one-on-one meeting with my manager this past week, Steve asked me, “How is it going?” I replied, “I need a vacation from my vacation.” That tends to be the rule with me rather than the exception. I seldom get to vacate on vaca...

Scripting Guy!Windows PowerShellscripting techniques
Jul 13, 2009
0
0

Hey, Scripting Guy! How Can I Handle Errors in a Windows PowerShell Script?

ScriptingGuy1
ScriptingGuy1

 Hey Scripting Guy! When I used to write VBScripts, I liked the fact that I could use On Error Resume Next to handle any errors in my scripts. I have tried to find something like this in Windows PowerShell, but I have been unable to do so. Does Windows PowerShell have On Error Resume Next? -- OG Hello OG, When I am scuba diving, one of ...

Scripting Guy!Windows PowerShellscripting techniques