Solved

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

Posted on 2014-11-05
8
101 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:Addy Nadia
  • 4
  • 4
8 Comments
 
LVL 19

Expert Comment

by:Adam Farage
ID: 40423931
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 5

Author Comment

by:Addy Nadia
ID: 40423959
where i need to put my mailbox name to get which role group i am assigned
0
 
LVL 19

Expert Comment

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

Author Comment

by:Addy Nadia
ID: 40423971
but there are lot of administrator. any way i can specifically check my roles assigned
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 19

Expert Comment

by:Adam Farage
ID: 40423994
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 5

Author Comment

by:Addy Nadia
ID: 40427549
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
ID: 40427620
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 5

Author Closing Comment

by:Addy Nadia
ID: 40463013
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video discusses moving either the default database or any database to a new volume.

895 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

13 Experts available now in Live!

Get 1:1 Help Now