Get all permissions on a mailbox

If you want to get all users that have rights on a mailbox, just try this little script :

Get-Mailbox $mailbox | Get-MailboxPermission | where {($_.user.tostring() -ne “NT AUTHORITYSELF”) -and ($_.IsInherited -eq $false)}

Really simple but… really useful !

Leave a comment