ADSI - Active Directory Service Interface


Web Sites
How to Find the FSMO Role Owners Using ADSI and WSH (Q235617) - Simple VB script that uses LDAP to find FSMO roles in AD. Could inspire for more AD related scripts?
TechNet Script Center - On this site you get a long list of examples on everyday scripting for administrators. A nice place to start if you want to develop scripts for your own specific needs.
Using Active Directory Service Interfaces - The online version of the ADSI part of the Platform SDK. Here you find the documentation for programming against the Active Directory Service Interface.

White Papers
Active Directory Service Interfaces - Description of ADSI - the interface for Active Directory and other directory services. 20 pages.
Active Directory Service Interfaces Overview - Short introduction to ADSI - the interface for programming Active Directory. 2 pages.
Windows 2000 Scripting Guide - The Windows 2000 Scripting Guide provides a comprehensive overview of the scripting technologies included in the Windows 2000 operating systems. This e-book is designed to teach you basic concepts underlying Microsoft scripting technologies such as Visual Basic Scripting Edition (VBScript), Windows Script Host (WSH), Active Directory Service Interfaces (ADSI), and Windows Management Instrumentation (WMI). The Scripting Guide also includes hundreds of pre-written scripts that enable you to perform important system administration tasks. These scripts can be used as-is, or you can use the information included in the step-by-step instructions to modify them to meet your unique needs.

Programs
ARRAYCONVERT.EXE Variant Conversion Functions (Q250344) - With this dll you get 5 functions for converting variant types in your VBScripts. You can eg. convert multi valued attributes and ADSTYPE OCTETSTRING attributes returned from an ADSI call.
Unlock Locked User Accounts with WSH and ADSI - With this script you can unlock all locked out accounts in AD regardless the underlying OU structure. The script is WSH based and uses ADSI 2.0.