obtain the GUID of an Organizational Unit

I need the GUID of an OU. I know what the DN of the OU is, and I can locate it in ADUC, but i can't locate the GUID.
LVL 1
TWCMILAsked:
Who is Participating?
 
Mike KlineConnect With a Mentor Commented:
I really like using a great tool called adfind by MVP Joe Richards for this
http://www.joeware.net/freetools/tools/adfind/index.htm
For example if my OU is called Testusers
adfind -default -f " ou=Testusers"   objectguid
Thanks
Mike
 
0
 
speshalystCommented:
look for Establish the Distinguished Name and GUID of an Object  at the URL below
http://technet.microsoft.com/en-us/library/bb727062.aspx#E0MC0AA
 
hope it helps
0
 
TWCMILAuthor Commented:
I've not tested this solution, as my request just became no longer relevant. I'm giving credit since, without testing, it is the correct answer to my question.
0
 
TWCMILAuthor Commented:
I've not tested this solution, as my request just became no longer relevant. I'm giving credit since, without testing, it is the correct answer to my question.

The first post pointing to: http://technet.microsoft.com/en-us/library/bb727062.aspx#E0MC0AA,
while good info, i could not find how to locate an OU GUID, other object types, yes...but not OU's
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.