PowerShell Logo Small

Get-ADReplicationPartnerMetadata



This is the built-in help made by Microsoft for the command 'Get-ADReplicationPartnerMetadata', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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] <ADPartnerType>] [-AuthType <ADAuthType>]
[-Credential <PSCredential>] [-EnumerationServer <String>] [-Filter <String>] [<CommonParameters>]
Get-ADReplicationPartnerMetadata [[-Target] <Object[]>] [-Scope] <ADScopeType> [[-Partition] <String[]>] [[-PartnerType] <ADPartnerType>]
[-AuthType <ADAuthType>] [-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/?LinkId=216354

REMARKS

<

Examples


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

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



Description

-----------

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




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

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



Description

-----------

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




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

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



Description

-----------

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




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

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



Description

-----------

Get the replication metadata for all the inbound partners of all the domain controllers within the 'NorthAmerica' site for all hosted
partitions.




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

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



Description

-----------

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




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

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



Description

-----------

Get the replication metadata for all the domain controllers that are inbound partners for the configuration partition in the forest
'corp.contoso.com'.