Platform SDK: Active Directory, ADSI, and Directory Services

ADSI Scripting Tutorial

The Microsoft® Active Directory™ Service Interfaces (ADSI), when combined with a scripting language such as VBScript or JScript, provide a system administrator with powerful tools for managing users, services, print queues, and other parts of a Windows NT® or Windows® 2000 network. Scripts using the ADSI object model can take the place of repetitive manual efforts that would normally be accomplished using the NT Administrative Tools or the Microsoft Management Console. ADSI scripting can also automate regular system maintenance tasks for hands-free operation, and it provides an easy interface for writing web-based system management tools using Active Server Pages (ASP).

This tutorial introduces the use of scripting languages with ADSI to accomplish common tasks in Windows NT and 2000.