Connecting to an Object GUID

Updated: February 28, 2009

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).

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

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.

Community Additions