PowerShell Logo Small

Get-ADReplicationAttributeMetadata



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

SYNTAX


Get-ADReplicationAttributeMetadata [-Object] <ADObject> [-Server] <String> [[-Properties] <String[]>] [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Filter
<String>] [-IncludeDeletedObjects] [-ShowAllLinkedValues] [<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/p/?linkid=291038

REMARKS

<

Examples


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

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



This command gets 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 parameter if a multi-valued attribute is present, all its linked values are also retrieved.




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

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



This command gets 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 --------------------------

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



This command gets all groups that have any of their attributes modified on 11/10/2011.