I’ve been doing Active Directory work for many years and as such have a library of hundreds of scripts to assist with health checks, audits, and remediation tasks that I would like to share with the community.
But it’s not just a case of providing a script that creates a CSV or screen output, etc, as the output needs to be thoroughly explained so that the results are correctly understood and interpreted. The last thing I want is for someone to take the output of one of my scripts and start looking for a problem that does not exist, or making unnecessary modifications to their environment. This means that each script requires a separate article of it’s own. I have been doing this to date, but wanted to create a post to list all scripts used for health checks, audits and remediation tasks; linking them in as I blog about each one. I will also link out to other peoples scripts and articles that I use and find valuable.
I hope you find this a valuable source of information.
Health Check & Audit Scripts
- Finding Orphaned Group Policy Objects
- Script to create a Kerberos Token Size Report
- Script to Create a Report on UserAccountControl flags
- Script to Find Missing Subnets in Active Directory
- Script to Generate a Group Policy Object (GPO) Version Report
- Script to Create a Report on the Primary Groups (primaryGroupID) in Use
- Script to Create, Import and Export Group Policy WMI Filters
- Script to Create a Report of Members of Privileged Groups
- Script to Create an Overview of all Computer Objects in a Domain
- Script to Create an Overview and Full Report of all Group Objects in a Domain
- Script to Create a Summary Overview and Full Report of all Contact Objects in a Domain
- Auditing Active Directory Subnets by Alexandre Augagneur
- Check Active Directory Sites for Configuration Issues by Sean Metcalf
- Find Circular Nested Groups by Richard Mueller
- Script to Create an Active Directory Schema Update Report
- Using PowerShell to Find Stale and Duplicate Active Directory Groups by Ashley McGlone
- Draw Nested AD Security Groups by MemberOf or Member Attributes by Axel Limousin
- Audit Active Directory Changes by Nicolas Hahang – a free tool to audit the Active Directory changes regarding the account and the GPO management
Tools
Remediation Task Scripts
- Script to Create Group Policy Objects and WMI Filters to Manage the Time Server Hierarchy
- Script to Create the ADMX Central Store
- Script to Create, Import and Export Group Policy WMI Filters
Enjoy!