-
Notifications
You must be signed in to change notification settings - Fork 21
Script Info: Test ADReplication
Mike Kanakos edited this page Apr 19, 2019
·
1 revision
Monitor AD Replication
This script monitors DCs for Replication Failures.
This script runs from a source server and looks for replication failure by parsing the output of 'Get-ADReplicationFailure.' If the error count is higher than the defined limit, an alert will be generated.
PowerShell ActiveDirectory Module
N/A
17020 - Failure
17021 - Beginning of test
17022 - Testing individual systems
17023 - End of test
17024 - Alert Email Sent
The script will query the local Event log for failure event codes in the past 1 hour. If there was a previous failure, but the test succeeds on the current run, an alert will be sent that the previously seen errors have been cleared.
Event Log
Email
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