• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 80
  • Last Modified:

Mailboxes user has full access to? Exchange 2013

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
paulfoel
Asked:
paulfoel
  • 2
1 Solution
 
MASTechnical Department HeadCommented:
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
 
Senior IT System EngineerIT ProfessionalCommented:
MAS, if I have two mailbox servers stand alone no DAG, what's the command ?
0
 
MASTechnical Department HeadCommented:
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now