Solved

AD question computer OU

Posted on 2016-08-05
2
38 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
[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 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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…
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

696 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