Getting and Using the Scripts

To save you the time and effort of typing long scripts by hand, all the scripts (except those that are only a few lines long) are available for download from the O'Reilly web site at

Before you use them in your own networking environment, however, make sure you have the latest scripting engines on the workstation from which you run the scripts. You can download the latest scripting engines from the Microsoft Scripting home page (

Also note that, when working with the Active Directory Services Interface (ADSI), you must have the same applicable rights you need to use the built-in administrative tools. See Microsoft's ADSI web page ( for more information.

Furthermore, for VB scripts that interact with WMI, apply the most current version of the WMI agents, which are downloadable from the MSDN WMI SDK ( This information is important enough that we mention it again several times at the beginning of the first few chapters.

Finally, please note that while every all of the scripts, tools, procedures, and resources described and contained in this book have been tested, both the author and those experts who contributed them make no guarantee or warranty that they will work as intended in your own networking environment, nor do we assume any liability or responsibility for any loss or damage arising from their use. In other words, the information provided in this book is presented on an as is basis, and we strongly recommend that you try out a hack in a test environment first before using it in your company's production environment.