Reading Time: < 1 minute
Hi everyone! The following one-liners will allow you to verify the Replication Status of a Domain Controller against the replication partners within an AD Domain/Forest.
Execute the following cmdlets using from an elevated PowerShell Prompt from a Domain Controller or from a Workstation (requires Active Directory Powershell Module or RSAT).
#Check Replication for the default partition in the domain
Get-ADReplicationPartnerMetadata -Target "$env:userdnsdomain" -Scope Domain | Select-Object Server, LastReplicationAttempt, LastReplicationSuccess
#Check Replication for the default partition in the forest
Get-ADReplicationPartnerMetadata -Target "$env:userdnsdomain" -Scope Forest | Select-Object Server, LastReplicationAttempt, LastReplicationSuccess
Thanks for reading my blog!
Feel free to drop your comment or question below.