What OU a computer or user is in?

Okay.  I'm having a major brain fart here.  Regarding a Windows 2003 domain, can someone tell me how to search for what OU a particular computer or user is in.  I'm trying to figure out what site a particular computer is at.  If I knew the name of the OU it was in I could tell right away.  Thanks.
mb2010Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
adamdrayerConnect With a Mentor Commented:
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B322684#26

try "dsquery computer -name <computername>"
0
 
adamdrayerCommented:
GPResult will tell you.  There is probably a more specific way though.
0
 
mb2010Author Commented:
I’m not familiar with this tool.  What switches do I need to use to get information on the remote computer?  So far, I’m only getting GP info on the machine I’m running it from.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
adamdrayerCommented:
oh I'm sorry I misunderstood.  you would like to search through AD Users and Computers for a particular machine?  what do you know?  the computer name?
0
 
mb2010Author Commented:
Yes. I know the computer name.  I want to find what OU the computer is in.
0
 
adamdrayerCommented:
If you are in "Active Directory Users and Computers" you can click "Action -> Find..."

Find <ComputerName> in "Entire Directory"

Then when it is found, you can double-click it and select the "object" tab.  That should tell you.
0
 
mb2010Author Commented:
There is no "object" tab when I double click on the computer name.  The only tabs are General, Operating System, Member Of, Delegation, Location, Managed By, and Dial-in.  None of them have the "object" tab or tell me anything about OU name.
0
 
adamdrayerCommented:
What happens if you right-click it?  do you get an option for Name Mappings?
0
 
mb2010Author Commented:
Delete, Disable Account, Reset Account, Move, Manage, Properties.  No option for Name Mappings.
0
 
mb2010Author Commented:
Perfect.  Thank you!!  :-)
0
All Courses

From novice to tech pro — start learning today.