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.
Who is Participating?
LearnctxConnect With a Mentor EngineerCommented:
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"

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.