Click here to Skip to main content
15,891,409 members
Articles / Programming Languages / VBScript

VBScript to Disable Old Accounts in Active Directory

Rate me:
Please Sign up or sign in to vote.
3.30/5 (7 votes)
4 Sep 2007CPOL2 min read 104.5K   1.5K   12  
Searches a given OU for all users that haven't logged on in a given length of time. Then gives you the option to disable them and move them to a new folder.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions