Get mailbox permission

Prosper's picture
Forums: 
To check our mailbox permissions (all security groups starting with SG)
 
get-mailbox | Get-MailboxPermission | Where-Object {$_.user -like "*sg*"} | Export-Csv mailbox-permissions.csv -notype