Solved

Using power shell with ADSI connector to enumerate user class objects of an ou

Posted on 2009-05-09
2
999 Views
Last Modified: 2012-05-06
Using Powershell and a adsi connector how to you list the user object of an OU.
0
Comment
Question by:Matt_Bermejo
2 Comments
 
LVL 16

Accepted Solution

by:
Learnctx earned 125 total points
ID: 24346694
To just simply do it, you could just bind to the OU and list the child objects in that OU.

$objOU = [ADSI]"OU=targetou,ou=parentou,dc=test,dc=domain"

$objOU.PsBase.Children

Open in new window

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
A procedure for exporting installed hotfix details of remote computers using powershell
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now