09-07-2014, 10:36 AM
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
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