Bonjour mes amis,
Our theme for this week was the Admin Roles in Exchange Server 2013. Today we are going over the process to manage some of the basic stuff using Exchange Management Shell.
Task #01 – How to list the Admin roles…
Using EAC is a piece of cake, just click on permissions and then admin roles (selected by default).
However how can I get the same results using Exchange Management Shell? That is a piece of cake as well, just run Get-RoleGroup
Task #02 – How to get properties of an specific Admin Role
If we double click on any given admin role we will have something similar to this one.
How about EMS (Exchange Management Shell)? Just run Get-RoleGroup <Name-of-the-RoleGroup> | fl as shown in the figure below.
Here is a hint.. sometimes the administrator becomes frustrated with the EMS because he/she doesn’t remember the full name of the role group but there is an easy way to tackle this kind of issue, use wildcards!! For example, my admin role group is PortoAlegre-RecipientManagement I can find the same RoleGroup using EMS using Por* or *Ale*. See it’s not that hard., eh?
Task #03: Listing the members of an admin role group…
If you want to get a list of all members of any given admin role group, we can use the following cmdlet:
Task #04: Adding members to an admin role group..
We need to use Add-RoleGroupMember and we can specify the parameters on the same line or the required ones will be prompted in case we miss them.
Task #05: Removing members of an admin role group…
Based on the previous task, we can use the Remove-RoleGroupMember as shown in the figure below.