Active Directory Health Check

Update: Version 2

As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)

Active Directory Health Check

Updated with few more Tests: FSMOCheck & Advertising

Note:- will not work on Non-English Platforms.

Hi Readers,

Sharing a script that can be used for checking AD Health, This script is similar to one of my other health Check scripts that we use for exchange

This will check below:

Ping,Netlogon,NTDS,DNS,DCdiag Test(Replication,sysvol,Services)

Just download the zip file from above & run the batch file using Admin privileges.(run it from machine that is not DC)

Below is the report that will arrive in your mailbox.

Change Variables in .ps1 as needed:

$smtphost = “”

$from = “”

$to = “”

$timeout = “60”

Please rate the script if it worked for you 🙂

Pre-requisites/Assumptions: Supports tools are installed (as DCDiag is used), Access to ActiveDirectory (Assumption is AD admin will be using this script), Powershell.

If you face any issues with this script functioning, pls use comments.


Thanks for reading …

Tech Wizard

PowerShell Cheat Book

One thought on “Active Directory Health Check

  1. Pingback: Active Directory Health Check V2 | Tech Wizard

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s