Contact Info

ADSI sample code - VBScript

Active Directory Services Interface (ADSI) is a set of COM (Common Object Model) programming Interfaces. Like ODBC, ADSI provides common access to directories by adding a provider for each directory protocol type. Windows 2000 contains providers for:

Active Directory Services Interface (ADSI) is a set of COM (Common Object Model) programming Interfaces. Like ODBC, ADSI provides common access to directories by adding a provider for each directory protocol type.

ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.

On this site, you can find many ADSI samples.

Overview of the Adsi classes

Create a DS object - Computer Create a new Computer object - VBScript »
Write a DS object - Computer Modify a Computer object - VBScript »
Read a DS object - Computer List computers that are connected to a specific domain controller - VBScript »
Delete a DS object - Computer Delete a Computer object - VBScript »
Read a DS object - Computer Read a Computer object - VBScript »
Read a DS object - Computer Remove a computer from a domain - VBScript »
Delete a DS object - Contact Delete a Contact object - VBScript »
Create a DS object - Contact Create a new Contact object - VBScript »
Write a DS object - Contact Modify a Contact object - VBScript »
Read a DS object - Contact Read a Contact object - VBScript »
Create a DS object - Group Create a new Group object - VBScript »
Write a DS object - Group Modify a Group object - VBScript »
Delete a DS object - Group Delete a Group object - VBScript »
Read a DS object - Group Read a Group object - VBScript »
Read a DS object - Group Check Domain Admin- or Enterprise Admin membership - VBScript »
Read a DS object - Miscellaneous Lists all domains in the namespace - VBScript »
Read a DS object - Miscellaneous List all groups in a Windows 2000 AD domain or Windows NT4 domain - VBScript »
Read a DS object - Miscellaneous Display password policy information of a domain - VBScript »
Read a DS object - Organizational Unit Read an OU object - VBScript »
Write a DS object - Organizational Unit Modify an OU object - VBScript »
Create a DS object - Organizational Unit Create a new OU object - VBScript »
Delete a DS object - Organizational Unit Delete an OU object - VBScript »
Read a DS object - User Read a User object - VBScript »
Create a DS object - User Create a new User object - VBScript »
Delete a DS object - User Delete a User object - VBScript »
Read a DS object - User Check if account is disabled - VBScript »
Write a DS object - User Modify a User object - VBScript »
Read a DS object - User List all users and some of their properties in a Windows 2000 AD domain or Windows NT4 domain - VBScript »