?
Solved

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

Posted on 2014-11-05
8
Medium Priority
?
117 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

762 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