Chapter 14. Working with ADSI Providers

IN THIS CHAPTER

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.