Show mailbox permissions

Prosper's picture
Forums: 

This command shows all mailbox permissions on securitygroups with SG in the name

get-mailbox | Get-MailboxPermission | Where-Object {$_.user -like "*sg*"} | Export-Csv mailbox-permissions.csv -notype