Logging a script is usually done with an outside, interactive debugger for Windows Script Host, for which Microsoft has one (albeit a very simple one). The best overall place to learn about Windows Scripting is actually directly from Microsoft -- try http://groups.msn.com/windowsscript -- and also the Windows Scripting Host Bazaar, at http://www.borncity.com/WSHBazaar/WSHBazaar.htm.
Dig Deeper on Windows PowerShell Scripting
Related Q&A from Serdar Yegulalp
This week, our expert answers the question of how to get DVD data off a disc, even if the user's PC doesn't have an optical drive. Continue Reading
This week, our expert answers a question on how to connect a phone or tablet to a USB drive with a micro-USB connector. Continue Reading
Open source and free suites such as LibreOffice and OpenOffice could save organizations money, but not effort in comparison with Microsoft Office. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.