troubleshooting Question

Get all users and the security groups they are members of in AD

Avatar of David Sankovsky
David SankovskyFlag for Israel asked on
Active DirectoryPowershellWindows OS
6 Comments1 Solution100 ViewsLast Modified:
Hi Guys,
I'd appreciate your help.
I need a PS script that queries all users in an Active Directory (regardless of OU, all users)
and give out a CSV that has the username in one column and each group he is a member of in another (something like)
User             group 1                       group 2                           group3
Admin          domain admin          enterprise admins         etc..
Aard Vark
Principal Engineer

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 6 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 6 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