Reputation: 91
Is it possible to get groups of specified user? If it's possible, I need the query please.
Upvotes: 0
Views: 62
Reputation: 4602
I tried with this command and able to get the groups name of specified user.
Get-ADPrincipalGroupMembership username | select name
Reference : https://spgeeks.devoworx.com/get-groups-in-which-a-user-is-a-member-using-cmd/
Upvotes: 1