Script Library

Boost your management, troubleshoot, and remediation capabilities with scripts created by experts in the IT community.

<< Back to Script Library

Tag: Active Directory

(8 Scripts)
Exports users from active directory to a CSV for solve user import.
Users and groups must be comma separated, if one is not used please have '$null' in the field so it does not attempt to be processed.
A user account should contain the following data, otherwise it will not be exported: userprincipalname (UPN), givenname, sn (surname), mail (emaill address), samaccountname, distinguishedname
Builtin groups such as Domain Users are not supported
Version: 1.0.19  |   Created: 2022-10-11  |   Modified: 2022-10-30  |   Creator: Steve Schneider  |   Downloads: 18
This script displays a user's Name, Company, Title, Office, Office Phone Number, Mobile Phone Number and E-Mail Address if they exist in AD, as well as those same details for their Manager.

Requires the ActiveDirectory PowerShell module loaded on machine this is be exected from.

Created by Rory Monaghan.
Version: 1.1.7  |   Created: 2018-11-26  |   Modified: 2018-11-27  |   Creator: Rory.Monaghan  |   Downloads: 196
Use VBScript to reset a user's password. The password must be at least 8 characters long.
Version: 1.2.8  |   Created: 2014-02-20  |   Modified: 2014-02-23  |   Creator: Zeev Eisenberg  |   Downloads: 176
Adds the selected user(s) to an Active Directory group or groups
Version: 4.0.6  |   Created: 2013-11-25  |   Modified: 2014-02-18  |   Creator: Zeev Eisenberg  |   Downloads: 248
Enables the Active Directory account of the selected user(s)
Version: 3.0.6  |   Created: 2013-11-24  |   Modified: 2014-02-19  |   Creator: Zeev Eisenberg  |   Downloads: 177
Disables the Active Directory account of the selected user(s)
Version: 3.0.4  |   Created: 2013-11-24  |   Modified: 2014-02-19  |   Creator: Zeev Eisenberg  |   Downloads: 178
Unlocks the Active Directory account of the selected user(s). This can be run on any computer with the AD PowerShell module installed.
Version: 2.0.3  |   Created: 2013-11-24  |   Modified: 2014-02-20  |   Creator: Zeev Eisenberg  |   Downloads: 414
Resets the password for the Active Directory account of the selected user. Best to run this on one user at a time unless you want to assign the same password to all target accounts.
Version: 3.0.6  |   Created: 2013-11-24  |   Modified: 2014-02-20  |   Creator: Zeev Eisenberg  |   Downloads: 292