Viewing a User's Group Membership

Updated: February 28, 2009

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to view a user’s group membership.

The following example demonstrates how to view the group membership of the user SaraDavis:

Get-ADPrincipalGroupMembership -Identity SaraDavis

For a full explanation of the parameters that you can pass to Get-ADPrincipalGroupMembership, at the Active Directory module command prompt, type Get-Help Get-ADPrincipalGroupMembership –detailed, and then press ENTER.

Community Additions