A Quick Tip To Get Recent AD Replication Failures Using PowerShell

by [Published on 22 Jan. 2015 / Last Updated on 22 Jan. 2015]

This tip explains a PowerShell cmdlet you can use to quickly get status of AD Replication.

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 nirmal_sharma@mvps.org.

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.