Viewing the Nested Members of a Group
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
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
No comments:
Post a Comment