Solved

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

Posted on 2009-05-09
2
1,008 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 17

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Set OWA language and time zone in Exchange for individuals, all users or per database.
"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 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