March 11, 2013

Active Directory - Determine AD object by GUID

How to determine Active Directory object by GUID using PowerShell?

Run PowerShell with admin rights

PS C:\> Get-Module -ListAvailable | Import-Module

PS C:\> Get-Aduser -id "GUID"
PS C:\> Get-ADObject -id "GUID"
PS C:\> Get-ADObject -id "GUID" | fl

No comments:

Post a Comment