List an users groups with powershell

I often need to collect the groups an user in part of, sometime because of a decommission others just for documentation. Taking screenshots of an user that has a bunch of groups is a pain and doesn’t allow you to use the group list. Now the latest version of powershell comes with a command to make this painless.

Get-ADPrincipalGroupMembership username | select name


That’s it, your done. Simple and quick. I love powershell 🙂

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: