How Do I create a VB script to search Active Directory and modify the account expiration based on criteria?
Posted on 2007-08-02
I need assistance with creating a script that can take input from an excel spreadsheet and based on what is in there, automatically populate the account expiration field in Active Directory for user accounts. Basically, accounts have been created for the last couple of years in our organization but no account expiration date was ever put in for these 600+ users. So basically, take the username and date that the account should expire on from excel and populate into Active Directory via LDAP? Example:
take joe.doe, 08/31/2007 from excel and populate the Account tab for the username in Active Directory Users and Computers. Any help and guidance with this is appreciated!