Avatar of David Sankovsky
David Sankovsky
Flag for Israel

asked on 

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

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..
Active DirectoryPowershellWindows OS

Avatar of undefined
Last Comment
David Sankovsky

8/22/2022 - Mon