Quick 1-liner to Get a User’s Group Memberships

PS C:\Windows\system32> Get-ADPrincipalGroupMembership kimconnect|select name

name
----
Domain Admins
Enterprise Admins
Cloud Admins
Kimconnect Admins

Leave a Reply

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