List all mailboxes a user has access to in Exchange 2013?

Donna Smith picture Donna Smith · Aug 24, 2017 · Viewed 16.6k times · Source

Is it possible to run a command to produce a list of mailboxes a user has full access to?

I found something to try running in PS AD module however the output was useless.

Get-ADUser mspencer -Properties * | Select msExchDelegateListBL | Export-Clixml 'c:\users\adm-dosmith\desktop\test23.csv'

Does anyone have anything?

Answer

James C. picture James C. · Aug 24, 2017
Get-Mailbox | Get-MailboxPermission -User mspencer

This goes through every mailbox and returns any permissions the user mspencer has.

You'll need to use the Exchange Management Shell to run it as it uses the Exchange cmdlets.