Solved

Identify Mailbox Access in Exchange 2010

Posted on 2014-03-26
4
607 Views
Last Modified: 2014-05-16
Hello Experts,

Can you provide an example powershell script or command I can run to determine who has access to a users mailbox? (Exchange 2010)

For example, in the EMC I can browse to Recipient Configuration, then right-click on a mailbox and select 'Manage Full Access Permissions'. This displays all users who currently have full access to the mailbox.

Is there a way to export this info with a script, or query it on the fly in a simple way such as by running a script?

Thanks Experts!
0
Comment
Question by:zequestioner
4 Comments
 
LVL 8

Assisted Solution

by:EEhotline
EEhotline earned 125 total points
ID: 39957622
Try this command:

Get-MailboxPermission "username" | where {$_.AccessRights -like "*FullAccess*"}

Ref link:
http://blogs.technet.com/b/messaging_and_beyond/archive/2012/05/09/powershell-enumerating-access-rights-on-mailboxes.aspx
0
 
LVL 8

Assisted Solution

by:Camy
Camy earned 125 total points
ID: 39957632
0
 
LVL 39

Accepted Solution

by:
Adam Brown earned 125 total points
ID: 39957645
Probably a more informative way to do it is this:

get-mailboxpermission <mailbox name> | Select user,accessrights | export mailboxperms.csv

Open in new window


That will export the permissions with the user the permissions are set to for whatever mailbox you enter to a csv file. If you want the permissions on everyone, you could generate it with the following:

$users = get-mailbox
foreach ($user in $users)
{
     $alias = $user.alias
     $file = "c:\folder\" + $alias + ".csv"
    get-mailboxpermission $alias | select user,accessrights | export-csv $file
}

Open in new window

That will build a CSV with the permissions for each mailbox in the environment.
0
 
LVL 5

Assisted Solution

by:Pankaj_401
Pankaj_401 earned 125 total points
ID: 39958203
Here is good explanation of your exact concern : How to List all Users Who Have Access to Other Exchange Mailboxes
In addition, this one is also equipped with several proficient features which helps to monitor and instantly alerts for all critical changes like, mailbox permission, policies changes or configuration changes in exchange server.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to strip content from csv 8 17
Creating DAG on Exchange 2016 4 16
How to add PC name on each line? 2 13
AD issue after VM restore 5 12
Read this checklist to learn more about the 15 things you should never include in an email signature.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
how to add IIS SMTP to handle application/Scanner relays into office 365.

839 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