Solved

AD question computer OU

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article outlines the process to identify and resolve account lockout in an Active Directory environment.
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 steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

688 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