Most organizations with more than 10 or 20 people on staff that are running either Exchange Server on premises or Office 365 in the cloud have mailboxes that are shared on some level. There could arise certain situations where you would quickly need a list of mailboxes that are allowing people other than the mailbox’s owner to access the data within.
PowerShell scripts
Let’s tackle the simplest scenario first. To have a look at which mailboxes are shared with other users, you can use the power of PowerShell to capture these shared-out mailboxes so you know what you are working with.
Powershell
Get-Mailbox–RecipientTypeDetails‘SharedMailbox’|Get-MailboxPermission|where{$_.user.tostring()-ne"NT AUTHORITY\SELF"-and$_.IsInherited-eq$false}|Format-TableIdentity,User–AutoSize
This command will provide a simple table showing the...