Chapter 11. Built-In Scripting Objects


I’ve already described how VBScript’s real value is as a sort of electronic “glue,” which you can use to piece together the many objects of the Windows operating system. Windows Management Instrumentation (WMI) and Active Directory Services Interface (ADSI) are good examples of operating system functionality that you can access by using VBScript. The Windows Script Host (WSH) even has its own built-in object library, and these objects allow you to perform some powerful tasks.

In this chapter, you’ll learn to use the WSH Network object, which provides access to the computer’s ...

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.