Replication
Data replication is crucial for a healthy Active Directory 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 is based on the default partition. If needed, the partition can be changed using –Partition
to a configuration or schema partition. It will list the relevant inbound partners for the selected...