How to check user mailbox database

akosinoah
akosinoah used Ask the Experts™
on
Im having trouble with some users mailbox database has been assigned by mistake. I was looking for a command i could execute in exchange management console to check what is the current mailbox database for all the users and export it to csv.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
MASEE Solution Guide - Technical Dept Head
Most Valuable Expert 2017

Commented:
Please let me know your Exchange version.
If it is Exchange2010 you can filter from EMC and add required columns and export to CSV from the EMC.
Please check this https://technet.microsoft.com/en-us/library/bb124566(v=exchg.141).aspx

Author

Commented:
I am looking for exchange server 2013.
EE Solution Guide - Technical Dept Head
Most Valuable Expert 2017
Commented:
This command will export users to CSV with mailbox name and it's residing mailbox-database.
Get-Mailbox | select name,database | Export-Csv C:\export\exportusers.csv

Open in new window

Author

Commented:
Thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial