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