Solved

Mailboxes user has full access to? Exchange 2013

Posted on 2016-10-24
3
31 Views
Last Modified: 2016-10-28
Easy enough to do the other way around but is there any way to get a list of mailboxes that a user has permissions to?
0
Comment
Question by:paulfoel
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
-MAS earned 500 total points
ID: 41856979
Hi,
Please use this which will list the users which testuser has FullAccessPermission on.
Get-Mailbox -Server "SERVERNAME"  -resultsize "Unlimited" | Get-MailboxPermission | where { ($_.AccessRights -eq "FullAccess") -and ($_.User -like "DOMAIN\TESTUSER") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF") } | ft User, @{Name="Identity";expression={($_.Identity -split "/")[-1]}} -Autosize

Open in new window


Thanks
MAS
1
 
LVL 7

Expert Comment

by:Senior IT System Engineer
ID: 41858388
MAS, if I have two mailbox servers stand alone no DAG, what's the command ?
0
 
LVL 24

Expert Comment

by:-MAS
ID: 41860430
Use the same command but without -Server  switch.
Get-Mailbox -resultsize "Unlimited" | Get-MailboxPermission | where { ($_.AccessRights -eq "FullAccess") -and ($_.User -like "DOMAIN\TESTUSER") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF") } | ft User, @{Name="Identity";expression={($_.Identity -split "/")[-1]}} -Autosize

Open in new window

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

705 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

18 Experts available now in Live!

Get 1:1 Help Now