Viewing the Direct Members of a Group

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to view the direct members of a group.

Example

The following example demonstrates how to view the direct members of the group G1 in the Fabrikam.com domain:

Get-ADGroupMember G1 | FT Name,ObjectClass -A

Additional information

You can use the following parameters when you retrieve many of the common values that are associated with viewing the direct members of a group:

  • GroupCategory

  • HomePage

  • ManagedBy

  • State

  • StreetAddress

  • Description

  • DisplayName

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