Use the blue Nav bar above to access the main index pages!

Active Directory Scripts Repository

Here are some Active Directory Scripts.  First, some basics, then some scripts that cover complex topics that aren't well covered on the web already.  The list will grow, and the categories will change.  Stay tuned, please leave comments.  Requests are welcome!

PowerShell
Backup DFS NameSpaces using PowerShell
Find Disabled Users in AD using PowerShell
List Forest-wide Group Memberships with PowerShell
Find Old Computer Accounts with PowerShell
List SPNs in Active Directory with PowerShell
List Domain Controllers with PowerShell

Active Directory Scripting Basics
The basics of connecting to AD objects
How to create a new user and add her to a group
Listing the members if a group
Walking the directory tree and searching AD like a database

Search and Name Translation
Search Active Directory with ADODB (Perl)
Name Translator (Perl)

Finding Disabled Users and Old Computers
Find Disabled Users (VBScript)
Find Disabled Users (Perl)
Find Old Computer Accounts with Perl
Find Old Computer Accounts with PowerShell

SPN's and Delegation
List SPNs in Active Directory with PowerShell
Find SPN (Perl)
Find SPN (VBScript)
Enable Constrained Delegation
Enable Trust for Delegation

Miscellaneous
List Domain Controllers with PowerShell
Exploring the Configuration Context
Enumerate TokenGroups (Perl)
List Servers in Active Directory
Creating and Maintaining Shadow Groups

Related Posts Plugin for WordPress, Blogger...