Monthly Archives: September 2014

Display/Remove Full Mailbox Access Permissions

Applies to: Exchange Server 2007

This script displays all the mailboxes within the Exchange Organization where accounts with “admin” in the name have full mailbox access to (change as required):

Get-Mailbox -resultsize unlimited | where {$_.RecipientTypeDetails -eq “UserMailbox”} | get-mailboxpermission | where {$_.User -like “*admin*”} | select Identity, User

To remove the permissions from above command, run the following script:

Get-Mailbox -resultsize unlimited | where {$_.RecipientTypeDetails -eq “UserMailbox”} | get-mailboxpermission | where {$_.User -like “*admin*”} | select Identity, User |