Solved

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

Posted on 2014-11-05
8
105 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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