• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1033
  • Last Modified:

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

Using Powershell and a adsi connector how to you list the user object of an OU.
0
Matt_Bermejo
Asked:
Matt_Bermejo
1 Solution
 
LearnctxEngineerCommented:
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

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now