Solved

How to Get Which Administrator role i get in Exchange Server through Management shell

Posted on 2014-11-05
8
97 Views
Last Modified: 2014-11-24
Hello Team,

I am newly administrator in exchange Server, i got the Management shell access. Now i want to know on my id which administrator roles I've been assigned.

What is the command that will tell what access i've been given in Exchange Server

Thanks,
Andy
0
Comment
Question by:Andy Navi
  • 4
  • 4
8 Comments
 
LVL 19

Expert Comment

by:Adam Farage
Comment Utility
List out the role groups within PowerShell:

Get-RoleGroup

Open in new window


Find out which group you are in by querying the role group membership:

Get-RoleGroupMember "Organization Management"

Open in new window

0
 
LVL 4

Author Comment

by:Andy Navi
Comment Utility
where i need to put my mailbox name to get which role group i am assigned
0
 
LVL 19

Expert Comment

by:Adam Farage
Comment Utility
When you run Get-RoleGroupMember this will list all members, and you should see yourself in the group if you are assigned.
0
 
LVL 4

Author Comment

by:Andy Navi
Comment Utility
but there are lot of administrator. any way i can specifically check my roles assigned
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 19

Expert Comment

by:Adam Farage
Comment Utility
Get-RoleGroupMember "Organization Management" | ? { $_.Name -eq "Insert Display Name here"}

that would give you what you are looking for. You can also search other RBAC groups (get-rolegroup) by replacing the "Organization Management" portion above.
0
 
LVL 4

Author Comment

by:Andy Navi
Comment Utility
Is this command will give results of which Rolegroup my account is being assigned.
Suppose my Alias is : Andy, Then where i need to mentioned my name in Command.
0
 
LVL 19

Accepted Solution

by:
Adam Farage earned 500 total points
Comment Utility
Get-RoleGroupMember "Organization Management" | ? { $_.Name -eq "Andy"}

So this does two things:

- Pulls the users within the Role Group (RBAC group) "Organization Management" (which is like the Enterprise Admin group for Exchange, full rights to everything)
- the ? is the Where-Object statement, just abbreviated because I am lazy :) It says "Where-Object from Name is Andy". So it will display your name there if you are part of the group. If it returns nothing then you are not apart of that group.
0
 
LVL 4

Author Closing Comment

by:Andy Navi
Comment Utility
Thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video discusses moving either the default database or any database to a new volume.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now