Viewing the Nested 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 nested members of a group. Nested members of a group are the members of a group that is contained in another group. For example, if group A is contained within group B, the members of group A are the nested members of group B.
Example
The following example demonstrates how to view the nested members of the group G1 in the Fabrikam.com domain:
Get-ADGroupMember G1 -Recursive | 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 nested 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.