Update: Version 2 – https://techwizard.cloud/2021/05/04/active-directory-health-check-v2/
As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)
Updated with few more Tests: FSMOCheck & Advertising
Note:- will not work on Non-English Platforms.
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:
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.
Thanks for reading …