Chapter 14. Working with ADSI Providers


Active Directory, as well as the local “directory” contained in local computers’ Security Accounts Manager (SAM), is a major part of any Windows environment. Many directory-related tasks are some of the most time-consuming and repetitive ones a Windows administrator must perform, and so scripting becomes an obvious solution to make those tasks not only less time-consuming, but simply less boring.

Using ADSI Objects

ADSI, the Active Directory Services Interface, is an object library very similar in nature to the FileSystemObject and WScript objects I covered in Chapters 11 and 12, “Built-In Scripting ...

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.