{"id":1301,"date":"2014-05-15T07:44:51","date_gmt":"2014-05-14T23:44:51","guid":{"rendered":"http:\/\/www.jhouseconsulting.com\/?p=1301"},"modified":"2015-01-25T12:04:33","modified_gmt":"2015-01-25T04:04:33","slug":"active-directory-health-check-audit-and-remediation-scripts","status":"publish","type":"post","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2014\/05\/15\/active-directory-health-check-audit-and-remediation-scripts-1301","title":{"rendered":"Active Directory Health Check, Audit and Remediation Scripts"},"content":{"rendered":"<p><a style=\"line-height: 1.5em;\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2014\/05\/PowerShell-Logo.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignright\" title=\"PowerShell Logo\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2014\/05\/PowerShell-Logo.jpg\" alt=\"PowerShell Logo\" width=\"294\" height=\"230\" \/><\/a><\/p>\n<p>I&#8217;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.<\/p>\n<p>But it&#8217;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&#8217;s own. I have been doing this to date, but wanted to create a post to list all scripts used for\u00a0health checks, audits and remediation tasks;\u00a0linking 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.<\/p>\n<p>I hope you find this a valuable source of information.<!--more--><\/p>\n<p style=\"padding-left: 30px;\"><strong>Health Check &amp; Audit Scripts<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2012\/09\/03\/finding-orphaned-group-policy-objects-807\" target=\"_blank\">Finding Orphaned Group Policy Objects<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2013\/12\/20\/script-to-create-a-kerberos-token-size-report-1041\" target=\"_blank\">Script to create a Kerberos Token Size Report<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/01\/06\/script-to-create-a-report-on-useraccountcontrol-flags-1088\" target=\"_blank\">Script to Create a Report on UserAccountControl flags<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/01\/21\/script-to-find-missing-subnets-in-active-directory-1127\" target=\"_blank\">Script to Find Missing Subnets in Active Directory<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/05\/23\/script-to-generate-a-group-policy-object-gpo-version-report-1317\" target=\"_blank\">Script to Generate a Group Policy Object (GPO) Version Report<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/05\/27\/script-to-create-a-report-on-the-primary-groups-primarygroupid-in-use-1337\" target=\"_blank\">Script to Create a Report on the Primary Groups (primaryGroupID) in Use<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/06\/09\/script-to-create-import-and-export-group-policy-wmi-filters-1354\" target=\"_blank\">Script to Create, Import and Export Group Policy WMI Filters<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/06\/09\/script-to-create-a-report-of-members-of-privileged-groups-1367\" target=\"_blank\">Script to Create a Report of Members of Privileged Groups<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/06\/22\/script-to-create-an-overview-of-all-computer-objects-in-a-domain-1385\" target=\"_blank\">Script to Create an Overview of all Computer Objects in a Domain<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2015\/01\/02\/script-to-create-an-overview-and-full-report-of-all-group-objects-in-a-domain-1455\" target=\"_blank\">Script to Create an Overview and Full Report of all Group Objects in a Domain<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2015\/01\/02\/script-to-create-a-summary-overview-and-full-report-of-all-contact-objects-in-a-domain-1484\" target=\"_blank\">Script to Create a Summary Overview and Full Report of all Contact Objects in a Domain<\/a><\/li>\n<li><a href=\"http:\/\/gallery.technet.microsoft.com\/scriptcenter\/Auditing-Active-Directory-c47935c0\" target=\"_blank\">Auditing Active Directory Subnets<\/a>\u00a0by\u00a0<a href=\"http:\/\/www.alexwinner.com\/\" target=\"_blank\">Alexandre Augagneur<\/a><\/li>\n<li><a href=\"http:\/\/blogs.metcorpconsulting.com\/tech\/?p=366\" target=\"_blank\">Check Active Directory Sites for Configuration Issues<\/a> by\u00a0<a href=\"http:\/\/blogs.metcorpconsulting.com\/tech\/\" target=\"_blank\">Sean Metcalf<\/a><\/li>\n<li><a href=\"http:\/\/gallery.technet.microsoft.com\/scriptcenter\/fa4ccf4f-712e-459c-88b4-aacdb03a08d0\" target=\"_blank\">Find Circular Nested Groups<\/a> by\u00a0<a href=\"http:\/\/www.rlmueller.net\/\" target=\"_blank\">Richard Mueller<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/06\/22\/script-to-create-an-active-directory-schema-update-report-1414\" target=\"_blank\">Script to Create an Active Directory Schema Update Report<\/a><\/li>\n<li><a href=\"http:\/\/blogs.technet.com\/b\/ashleymcglone\/archive\/2014\/03\/14\/using-powershell-to-find-stale-and-duplicate-active-directory-groups.aspx\" target=\"_blank\">Using PowerShell to Find Stale and Duplicate Active Directory Groups<\/a> by\u00a0<a href=\"http:\/\/blogs.technet.com\/b\/ashleymcglone\/\" target=\"_blank\">Ashley McGlone<\/a><\/li>\n<li><a href=\"http:\/\/gallery.technet.microsoft.com\/scriptcenter\/Graph-Nested-AD-Security-eaa01644\" target=\"_blank\">Draw Nested AD Security Groups by MemberOf or Member Attributes<\/a> by\u00a0<a href=\"http:\/\/www.it-si.fr\/\" target=\"_blank\">Axel Limousin<\/a><\/li>\n<li><a href=\"https:\/\/www.shellandco.net\/audit-the-active-directory\/\" target=\"_blank\">Audit Active Directory Changes<\/a> by <a href=\"https:\/\/www.shellandco.net\/\" target=\"_blank\">Nicolas Hahang<\/a> &#8211; a free tool to audit the Active Directory changes regarding the account and the GPO management<\/li>\n<\/ul>\n<p style=\"padding-left: 30px;\"><strong>Tools<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2015\/01\/25\/netlogon-parser-for-message-analyzer-1566\" target=\"_blank\">Netlogon parser for Message Analyzer<\/a>\u00a0by <a href=\"https:\/\/social.technet.microsoft.com\/Profile\/BrandonWilson\" target=\"_blank\">Brandon Wilson<\/a><\/li>\n<\/ul>\n<p style=\"padding-left: 30px;\"><strong>Remediation Task Scripts<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/01\/10\/script-to-create-group-policy-objects-and-wmi-filters-to-manage-the-time-server-hierarchy-1153\" target=\"_blank\">Script to Create Group Policy Objects and WMI Filters to Manage the Time Server Hierarchy<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/02\/25\/script-to-create-the-admx-central-store-1224\" target=\"_blank\">Script to Create the ADMX Central Store<\/a><\/li>\n<li><a href=\"http:\/\/www.jhouseconsulting.com\/2014\/06\/09\/script-to-create-import-and-export-group-policy-wmi-filters-1354\" target=\"_blank\">Script to Create, Import and Export Group Policy WMI Filters<\/a><\/li>\n<\/ul>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;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&#8217;s not just a case of providing a script that creates a CSV or screen output, etc, &#8230; <a title=\"Active Directory Health Check, Audit and Remediation Scripts\" class=\"read-more\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2014\/05\/15\/active-directory-health-check-audit-and-remediation-scripts-1301\" aria-label=\"Read more about Active Directory Health Check, Audit and Remediation Scripts\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[202,60,5],"tags":[428,284,337,334,116,336,383,382,411,335,333,341,340,338,381,7],"class_list":["post-1301","post","type-post","status-publish","format-standard","hentry","category-active-directory","category-group-policy","category-scripting","tag-active-directory","tag-ad","tag-adds","tag-audit","tag-best-practice","tag-check","tag-document","tag-documentation","tag-good-practice","tag-health","tag-health-check","tag-posh","tag-powershell","tag-remediation","tag-review","tag-script"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/1301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/comments?post=1301"}],"version-history":[{"count":21,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/1301\/revisions"}],"predecessor-version":[{"id":1568,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/1301\/revisions\/1568"}],"wp:attachment":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/media?parent=1301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/categories?post=1301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/tags?post=1301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}