Active Directory Services/Tools
[edit] VBScripts to list/add/delete Users in Active Directory
Assumptions:
- The machine you run these from is a member of ads.case.edu
- The user attempting to run these scripts has permissions to add/delete users from the group
This zip file contains three simple VBScript files that will list the users in a group within ADS, add a user to a group within ADS, and delete a user from a group within ADS.
To make these files work for your situation you will need to change the
Const ADS_PATH = "LDAP://cn=ENTER_GROUP_NAME_HERE,OU=ENTER_OU_NAME_HERE,DC=ads,DC=case,DC=edu"
located at the top of each file to point to your particular group/OU.
There is nothing elegant about these scripts, but they can allow you to empower users to maintain certain parts (groups) within your OU, without teaching them to use Microsoft's AD management software. Obviously, you'll want to control who has the ability to execute these, as they will be able to alter the group you point the script to.
