Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 949
  • Last Modified:

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.
0
TWCMIL
Asked:
TWCMIL
  • 2
1 Solution
 
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
 
Mike KlineCommented:
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
 
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now