PowerShell Logo Small

Get-ADReplicationAttributeMetadata



This is the built-in help made by Microsoft for the command 'Get-ADReplicationAttributeMetadata', 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 one or more Active Directory replication partners.

SYNTAX


Get-ADReplicationAttributeMetadata [-Object] <ADObject> [-Server] <String> [[-Properties] <String[]>] [-AuthType <ADAuthType>] [-Credential
<PSCredential>] [-Filter <String>] [-IncludeDeletedObjects [<SwitchParameter>]] [-ShowAllLinkedValues [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-ADReplicationAttributeMetadata cmdlet returns the replication metadata for one or more attributes on a given object. The metadata is
contained in the following two directory objects:


single-value attribute: msDS-ReplAttributeMetaData


multi-value attribute: msDS-ReplValueMetaData


The cmdlet parses the byte array(s) and returns the data in a readable format.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkID=216351

REMARKS

<

Examples


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

C:\PS>Get-ADReplicationAttributeMetadata "CN=Domain Admins,CN=Users,DC=corp,DC=contoso,DC=com" corp-DC01 -ShowAllLinkedValues



Description

-----------

Get the replication metadata for the attributes of a group with Distinguished Name "CN=Domain Admins,CN=Users,DC=corp,DC=contoso,DC=com" from
the CORP-DC01 domain controller. By including the -ShowAllLinkedValues switch parameter if a multi-valued attribute is present, all its linked
values are also retrieved.




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

C:\PS>Get-ADReplicationAttributeMetadata "1A7BFEC6-C92C-4804-94B0-D407E51F1B64" corp-DC01 -IncludeDeletedObjects



Description

-----------

Get the replication metadata for the attributes of an object with GUID "1A7BFEC6-C92C-4804-94B0-D407E51F1B64", including the deleted objects
and the deactivated forward and backward links.




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

C:\PS>Get-ADObject -Filter 'objectclass -eq "group"' | Get-ADReplicationAttributeMetadata -Server corp-DC01 | Where-Object
{$_.lastoriginatingchangetime -like "*11/10/2011*"} | Format-Table object



Description

-----------

Get all groups that have any of their attributes modified on 11/10/2011.