Starting with Windows Server 2012, PowerShell offers cmdlets to check AD Replication status. One of the PowerShell cmdlets is the Get-ADReplicationFailure which can be used to return information about the recent replication failures for a domain controller or for domain controllers in a specific site.
For example, to return information about replications status of a domain controller, execute the PowerShell command below:
- Get-ADReplicationFailure DC1.Test.local
If you need to check the AD Replication status for all domain controllers in a specific site, execute below PowerShell command:
- Get-ADReplicationFailure -scope site -target Seattle | FT Server, LastError, Partner-Auto
About Nirmal Sharma
Nirmal is a MCSEx3, MCITP and was awarded Microsoft MVP award in Directory Services and Windows Networking. He is specialized in Directory Services, Failover cluster, Hyper-V, System Center, Windows Azure, and Exchange Servers and has been involved in Microsoft Technologies since 1994. In his spare time, he offers technical help by writing tips and articles on several web sites. Nirmal can be reached at [email protected]