Solved

obtain the GUID of an Organizational Unit

Posted on 2009-03-31
4
938 Views
Last Modified: 2012-05-06
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
Comment
Question by:TWCMIL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 16

Expert Comment

by:speshalyst
ID: 24033581
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
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 24034432
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
 
LVL 1

Author Closing Comment

by:TWCMIL
ID: 31565055
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
 
LVL 1

Author Comment

by:TWCMIL
ID: 24143516
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question