Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

AD question computer OU

Posted on 2016-08-05
2
Medium Priority
?
44 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 1000 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 1000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

597 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