-
Notifications
You must be signed in to change notification settings - Fork 21
Script Info: Test InternalTimeSync
Mike Kanakos edited this page Apr 20, 2019
·
1 revision
Monitor AD Internal Time Sync
This script monitors DCs for Time Sync Issues
This script runs from a source server and retrieves the time from the DC with the PDC Emulator role, and compare it with all the other DC in the Domain. If the time drift is higher than the defined limit, an alert will be generated.
WMI
Yes, if the time drift is higher than the defined limit, the script will run 'w32tm /resync' on the DC that is over the limit.
17030 - Failure
17031 - Beginning of test
17032 - Testing individual systems
17033 - End of test
17034 - Alert Email Sent
17035 - Automated Repair Attempted
Event Log
Email
Slack
Authors: Mike Kanakos, Greg Onstot
- Copy-Scripts
- Get-ADConfig
- Get-ADLastBackupDate
- Get-DCDiskSpace
- Restore-PSADHealthConfig
- Set-PSADHealthConfig
- Test-ADConfigMailer
- Test-ADObjectReplication
- Test-ADReplication
- Test-ADServices
- Test-DCsOnline
- Test-ExternalDNSServers
- Test-ExternalTimeSync
- Test-InternalTimeSync
- Test-SRVRecords
- Test-SYSVOLReplication