troubleshooting Question

Need a PowerShell script to list the CNs of all users in a specific OU that are enabled.

Avatar of amendala
amendala asked on
Active DirectoryMicrosoft Server OSWindows Server 2008
13 Comments1 Solution1207 ViewsLast Modified:
Folks -

I need some PowerShell code wipped up to list the CNs of all users within a specific OU that are ENABLED.  Simple, straightforward, but I'd like it without the use of the Quest cmdlets.  I realize this is easier with them but security restrictions require me to use the built-in PowerShell functionality.

The OU can be embedded int he code as a variable, it's easy enough to change.

Thanks in advance.
Neil Russell
Solution Development Specialist

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros