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.
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
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:
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.