When I was watching the recording from the January 2009 SCVUG Meeting, Pete Zerger showed that you could use a script debugger when debugging scripts.
Till now I had not used a script debugger so I thought why not enable the just-in-time script debugger from Visual C# 2008 Express Edition I’ve running on my laptop?
But it turned out that Just-In-Time Debugging is not available in the Express Edition.
Don’t worry you can download and install the Script Debugger for Windows NT 4.0 and Later and use that when you want to debug your OpsMgr scripts.
How do you debug your scripts? Just open the command prompt and type:
c:\cscript.exe /x loveopsmgr.vbs