SYNOPSIS
Returns the replication metadata for a set of one or more replication partners
DESCRIPTION
The Get-ADReplicationPartnerMetadata
cmdlet returns information related to an Active Directory replication partner and its replication partners. This includes attributes such as LastReplicationSuccess
or LastReplicationAttempt
and other data specific to each pairing of replication partners.
If the results are too verbose for your needs, you can use the Partition parameter to specify a partition to narrow down the results. Optionally, you can use the Filter parameter to narrow down results as well. If no partition or filter are specified for the results, the default naming context is used and metadata for all replication partners is returned.
SYNTAX
Get-ADReplicationPartnerMetadata [-Target] <Object[]> [[-Partition] <String[]>] [[-PartnerType] {Both | Inbound | Outbound}] [-AuthType {Negotiate | Basic}] [-Credential
<PSCredential>] [-EnumerationServer <String>] [-Filter <String>] [<CommonParameters>]
Get-ADReplicationPartnerMetadata [[-Target] <Object[]>] [-Scope] {Domain | Forest | Server | Site} [[-Partition] <String[]>] [[-PartnerType] {Both | Inbound | Outbound}]
[-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-EnumerationServer <String>] [-Filter <String>] [<CommonParameters>]
REAL WORLD EXAMPLES
Get-ADReplicationPartnerMetadata -Target dc01 | select-object Server, LastReplicationAttempt, LastReplicationSuccess, partner | out-gridview
- displays the replication info for a target server and the partners replicating with it.
- sends output to a gridview window
Get-ADReplicationPartnerMetadata -Target dc01,dc02 | select-object Server, LastReplicationAttempt, LastReplicationSuccess, partner | out-gridview
- displays the replication info for two target servers and the partners replicating with it.
- sends output to a gridview window
Get-ADReplicationPartnerMetadata -Target NorthAmerica -Scope Site -Partition *
- Displays replication partner metadata for all domain controllers in a site