Solved

AD question computer OU

Posted on 2016-08-05
2
35 Views
Last Modified: 2016-08-15
Hi

How to find out what OU a computer is in


Thank you
0
Comment
Question by:GST-GRIDTECH
2 Comments
 
LVL 16

Accepted Solution

by:
FOX earned 250 total points
ID: 41744479
In Active Directory users and computers set your view to Users, contacts, and computers as Containers
and also click Advanced features

Right click the computer, then click properties then click the object tab
Another tab you can select is the attribute editor and scroll down to distinguished name.

if you want to do a powershell command
Get-Adcomputer  computername -properties * | select distinguishedname
0
 
LVL 15

Assisted Solution

by:WalkaboutTigger
WalkaboutTigger earned 250 total points
ID: 41744517
It should be noted that, if you're not on a domain controller, you will need to install the Active Directory module for Powershell and, as part of your powershell sequence/script, you will need to

Import-Module ActiveDirectory

for the Get-ADComputer command to work.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

777 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