Friday 23 September 2016

How to get all groups that a user is a member of?

Open up Active Directory Module for Windows Powershell and the run the command below.
(replace the word username with the AD user in question)

Get-ADPrincipalGroupMembership username | select name
 
 

No comments:

Post a Comment