Chapter 2. Running Scripts


Suppose you have several scripts ready to run—what do you do with them? Do you load them into Visual Basic and compile them? How do you distribute them to your users for use as logon scripts? What about when you’re ready to start writing your own scripts? What tools are available, and how well do they work? This chapter is designed to introduce you to your scripting toolbox—the tools you’ll need to write, run, edit, and debug your administrative scripts.

Windows Script Host

The most common way to run scripts is to use WScript.exe, the graphical version ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.