Active Directory Health Check

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 = “SMTP.labtest.com”

$from = “DoNotReply@labtest.com”

$to = “Sukhija@labtest.com”

$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.

Capture

Thanks for reading …

Tech Wizard

https://techwizard.cloud

https://www.syscloudpro.com/

PowerShell Cheat Book

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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