次の方法で共有


Repadmin /showobjmeta

 

Applies To: Windows Server 2003, Windows Server 2008, Windows Server 2003 with SP2, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2012, Windows Server 2003 with SP1, Windows 8

Displays the replication metadata for a specified object stored in Active Directory Domain Services (AD DS), such as the attribute ID, a version number, the originating and local Update Sequence Numbers (USNs), the globally unique identifier (GUID) of the originating server, and the date and time stamp.

By comparing the replication metadata for the same object on different domain controllers, you can determine whether replication has occurred or which domain controller added, modified, or deleted an attribute or object. You can reference an object by its distinguished name path, object GUID, or security identifier (SID). If the distinguished name path includes a space, enclose it in quotation marks.

For examples of how to use this command, see Examples.

Syntax

repadmin /showobjmeta [DSA_LIST] <Object DN> [/nocache] [/linked]

Parameters

Parameter

Description

<DSA_LIST>

Specifies the host name of a domain controller or a list of domain controllers that are separated in the list by single spaces. For detailed syntax, see Repadmin.

<Object DN>

Specifies the distinguished name of the object for which you want to display metadata.

/nocache

Specifies that GUIDs are left in hexadecimal form. By default, GUIDs are translated into strings.

/linked

Displays the metadata for linked attributes, such as the member attribute of a security group object. This parameter is valid only if the forest functional level is Windows Server 2003.

Examples

The following example targets all domain controllers that have a name prefixed with the string "dst" (such as dst-01, dst-02, and so on) and requests the replication metadata for an object by specifying the distinguished name. The distinguished name path is enclosed within quotation marks because it contains a space:

repadmin /showobjmeta dst* "CN=Joe Smith,OU=UserAccounts,DC=contoso,DC=com"

The following example targets all domain controllers that have a name prefixed with the string "dst" and requests the replication metadata for an object by specifying the distinguished name:

repadmin /showobjmeta dst* CN=Finance,OU=UserGroups,DC=contoso,DC=com /linked

The following example targets a specific domain controller and requests the replication metadata for an object by specifying the object GUID:

repadmin /showobjmeta destdc01 "<GUID=93f2ab2b-f140-4f74-b018-652566d8bdbd>"

The following example targets a specific domain controller and requests the replication metadata for an object by specifying the object SID:

repadmin /showobjmeta destdc01 "<SID=S-1-5-21-1721254763-462695806-1538882281-35372>"

Additional references

Command-Line Syntax Key

Repadmin