Data replication is crucial for a healthy AD environment. For a given domain controller, we can find its inbound replication partners using this:
Get-ADReplicationPartnerMetadata -Target REBEL-SRV01.rebeladmin.com
The preceding command provides a detailed description of the replication health of the given domain controller, including the last successful replication, replication partition, server, and so on.
We can list all the inbound replication partners for the given domain using the following command:
Get-ADReplicationPartnerMetadata -Target "rebeladmin.com" -Scope Domain
In the preceding command, the scope is defined as the domain. This can be changed to the forest to get a list of the inbound partners in the forest. The output ...