Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

Share

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).

image thumb30 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

However how can I get the same results using Exchange Management Shell? That is a piece of cake as well, just run Get-RoleGroup

image thumb31 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

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.

image thumb32 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

How about EMS (Exchange Management Shell)? Just run Get-RoleGroup <Name-of-the-RoleGroup> | fl as shown in the figure below.

image thumb33 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

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?

image thumb34 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

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:

image thumb35 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

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.

image thumb36 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

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.

image thumb37 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

Written by Anderson Patricio

 Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at MSExchange.org, AndersonPatricio.ca (English) and AndersonPatricio.org (Portuguese).
You can connect with Anderson on Twitter , Facebook, and Google+.

2 thoughts on “Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013

  1. Pingback: NeWay Technologies – Weekly Newsletter #33 – March 7, 2013NeWay | NeWay

  2. Pingback: Using Exchange Management Shell to manage Admin Roles in Exchange Server 2013 - AndersonPatricio.ca

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>