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 |

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>