Solved

Identify Mailbox Access in Exchange 2010

Posted on 2014-03-26
4
620 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
[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 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 41

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video discusses moving either the default database or any database to a new volume.

724 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