Get the Domain Controllers replication partner remotely with PowerShell


If you want to check the replication load between your Domain controllers, or if you want to see the Brige Head Server behavior in your environment, you can get the replication partner list per DC with that simple WMI query :

Get-WmiObject -ComputerName DC1 -Class MSAD_ReplNeighbor -Namespace rootMicrosoftActiveDirectory | Select-Object -ExpandProperty SourceDsaCN -Unique

If you don’t use the “Select-Object” cmdlet, you can have access to a lot more information about the domain controllers replication behavior :

Get-WmiObject -ComputerName DC1 -Class MSAD_ReplNeighbor -Namespace rootMicrosoftActiveDirectory


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.