VoIP Call Provider - Discussion Forums for the VoIP Call Provider

Full Version: Testing Replication in PowerShell - Windows server 2012
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

You can discover the status of Active Directory replication in PowerShell with the commandlet

Get-ADReplicationUpToDatenessVectorTable <servername>
or a list of all servers with:

Get-ADReplicationUpToDatenessVectorTable* | sort Partner,Server | ft Partner,Server,UsnFilter
To view the individual sites and the domain controllers at these sites, use these two commandlets:

Get-ADReplicationSite XE "Get-ADReplicationSite" -Filter * | ft NameGet-ADDomainController -Filter * | ft Hostname,Site
To view the replication connections in the PowerShell, use the command get-adreplicationconnection. Other interesting commandlets include:

Get-ADReplicationPartnerMetadata XE "Get-ADReplicationPartnerMetadata"
Get-ADReplicationFailure XE "Get-ADReplicationFailure"Get-ADReplicationQueueOperation
You can also view detailed information on the individual sites with

Get-ADReplicationSite -Filter *
in PowerShell.

Thanks