Share via


Connecting to an Object GUID

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to connect to an object’s globally unique identifier (GUID) in Active Directory Domain Services (AD DS).

Example

The following example demonstrates how to connect to the user object SaraDavis using the object’s GUID:

Get-ADObject -Identity ccc6c0f8-5dd9-42bc-93da-407c6f9695ef

Additional information

For a full explanation of the parameters that you can pass to Get-ADObject, at the Active Directory module command prompt, type Get-Help Get-ADObject –detailed, and then press ENTER.