PowerShell Logo Small

Get-ADReplicationPartnerMetadata



This is the built-in help made by Microsoft for the command 'Get-ADReplicationPartnerMetadata', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Returns the replication metadata for a set of one or more replication partners.

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>]



Search powershellhelp.space

DESCRIPTION


The Get-ADReplicationPartnerMetadata cmdlet returns an Active Directory replication partner metadata object for each of its replication partners which contains all of the
relevant replication data for the partners involved. 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.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=291041

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

PS C:\>Get-ADReplicationPartnerMetadata -Target corp-DC01



This command gets the replication metadata between corp-DC01 and its inbound partners for the default partition only.




-------------------------- EXAMPLE 2 --------------------------

PS C:\>Get-ADReplicationPartnerMetadata -Target corp-DC01 -PartnerType Inbound



This command gets the replication metadata between corp-DC01 and its inbound partners for the default partition only (same as above).




-------------------------- EXAMPLE 3 --------------------------

PS C:\>Get-ADReplicationPartnerMetadata -Target corp-DC01,corp-DC02 -PartnerType Both -Partition Schema



This command gets the replication metadata between corp-DC01, corp-DC02 and their respective partners only (both inbound and outbound) for the schema partition.




-------------------------- EXAMPLE 4 --------------------------

PS C:\>Get-ADReplicationPartnerMetadata -Target NorthAmerica -Scope Site -Partition *



This command gets the replication metadata for all the inbound partners of all the domain controllers within the NorthAmerica site for all hosted partitions.




-------------------------- EXAMPLE 5 --------------------------

PS C:\>Get-ADReplicationPartnerMetadata -Target "corp.contoso.com" -Scope Domain



This command gets the replication metadata for all the domain controllers that are inbound partners for the default partition in the domain 'corp.contoso.com'.




-------------------------- EXAMPLE 6 --------------------------

PS C:\>Get-ADReplicationPartnerMetadata -Target "corp.contoso.com" -Scope Forest -Partition Configuration



This command gets the replication metadata for all the domain controllers that are inbound partners for the configuration partition in the forest corp.contoso.com.