VBScript and PowerShell programs to document and administer users in Active Directory.
Program to read user names from a text file and set the password for each user. The NT name (pre-Windows 2000 logon name) of each user is specified in the text file. Uses the WinNT provider.
This program is similar to the previous, except that each user's Distinguished Name is specified in the text file. Uses the LDAP provider.
This program reads user Distinguished Names and passwords from a spreadsheet and sets each user's password. Uses the LDAP provider and Microsoft Excel.
Program to reset the password for an Active Directory user. Program also enables the account and expires the password, so the user must change the password the next time they logon.
Two programs to output the last logon date for all users in the domain, and one program to output the last logon dates for all users specified in a text file. A PowerShell program is also provided to output the last logon date for all users.
Program to configure a user account so the user is allowed to change their password in Active Directory.
Program to configure a user account so the user cannot change their password in Active Directory.
Program to determine the date a user last changed their password, the domain maximum password age policy, whether the user is allowed to change their password, and if the password is expired. An equivalent PowerShell script is included.
Program to output the date each user in the domain last changed their password. An equivalent PowerShell script is included.
Program to output information on all locked out users in the domain.
Program to determine if a given user is locked out. If the account is locked out, the program offers to unlock the account.
Program to update the profilePath attribute of many users in a bulk process from the information in a Microsoft Excel spreadsheet. This program can be modified to update many other user attributes. Users are identified in the spreadsheet by Distinguished Name.
Program to update the profilePath attribute of many users in a bulk process from the information in a Microsoft Excel spreadsheet. Identical to the previous program, except that users are identified in the spreadsheet by their NT logon name (also called their "pre-Windows 2000 logon name").
Program to create users in bulk from the information in a Microsoft Excel spreadsheet.
Use ADO to retrieve information on all users and document in a comma delimited file. An equivalent PowerShell script is also included.
An efficient method to quickly retrieve the names of all users currently locked out. An equivalent PowerShell script is also provided.
Programs to update users in bulk from the information in a Microsoft Excel Spreadsheet. A PowerShell Version 1.0 script is also provided.
Program to send an email message to all users whose password will expire between now and a specified number of days in the future. A similar PowerShell script is included.