Checking who has full mailbox access to an account.

Using the Get-MailboxPermission and Where statement, you can filter down mailbox options. Below returns all users who have full mailbox account to the $mailbox variable excluding inherited users.


$mailbox = "SamAccountName"

Get-MailboxPermission -Identity $mailbox | where { ($_.AccessRights -eq “FullAccess”) -and ($_.IsInherited -eq $false) }

Leave a Reply

Your email address will not be published. Required fields are marked *