List AD group membership readable

 

If you want to get a list of all the AD groups a user is member of you can use

This will give you a overview of the groups the user is a member of. It is however not easy to read. To get a list use Get-ADPrincipalGroupMembership. This will give you a list with one groupname per line.

Result:

 

To view the hierarchical structure:

result:

Note that the last result does not display the domain users

Leave a Reply

Your email address will not be published. Required fields are marked *