View a List of Role Groups
Applies to: Exchange Server 2010
You can view either a list of management role groups or the detailed information about a specific role group that exists in your organization. For more information about role groups in Microsoft Exchange Server 2010, see Understanding Management Role Groups.
Looking for other management tasks related to administrators and specialist users? Check out Managing Administrator and Specialist Users.
Prerequisites
This topic makes use of pipelining and the Format-List and Format-Table cmdlets. For more information about these concepts, see the following topics:
What Do You Want to Do?
- Use the Shell to view a list of role groups
- Use the Shell to view the details of a single role group
Use the Shell to view a list of role groups
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Role groups" entry in the Role Management Permissions topic.
Note
You can't use the EMC to view a list of role groups.
You can view a list of all the role groups in your organization by not specifying any role groups when you run the Get-RoleGroup cmdlet.
This example returns a list of all role groups in your organization.
Get-RoleGroup
To return a list of specific properties for all the role groups in your organization, you can pipe the results of the Format-Table cmdlet and specify the properties you want in the list of results. Use the following syntax.
Get-RoleGroup | Format-Table <property 1>, <property 2...>
This example returns a list of all the role groups in your organization and includes the Name and RoleAssignment properties.
Get-RoleGroup | Format-Table Name, RoleAssignment
For detailed syntax and parameter information, see Get-RoleGroup.
Use the Shell to view the details of a single role group
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Role groups" entry in the Role Management Permissions topic.
Note
You can't use the EMC to view the details of a single role group.
You can view the details of a specific role group by using the Get-RoleGroup cmdlet and piping the output to the Format-List cmdlet.
To view the details of a specific role group, use the following syntax.
Get-RoleGroup <role group name> | Format-List
This example gets the details about the Organization Management role group.
Get-RoleGroup "Organization Management" | Format-List
For detailed syntax and parameter information, see Get-RoleGroup.
Other Tasks
After you view a list of role groups, you may also want to: