Exchange 2013 - How to retrieve a list of mailbox from a Mailbox Database?

Dear Sir,

I've a Exchange 2013 server in my office, I have several Mailbox Database. How can I retrieve a list of mailbox from a Mailbox Database?

Thank you.

With regards,
Wataw
WatawAsked:
Who is Participating?
 
imkotteesSenior Messaging EngineerCommented:
Hi,

Use this command to get the same.

Get-mailbox -Database "Database Name" -ResultSize Unlimited
2
 
gaurav05Commented:
Hi

Open powershell with administrator... run below commands

Example :

Below command retrieves information about all the mailbox databases in the Exchange organization, including the mailbox databases that reside on computers running Exchange 2013 and earlier versions of Exchange

Get-MailboxDatabase -IncludePreExchange2013

Example :

Below command retrieves information about MailboxDatabase01 on Server01. This example also retrieves the status information, and pipes the output to the Format-List cmdlet so that you can view all the information about the mailbox database.

Get-MailboxDatabase -Identity MailboxDatabase01 -Server Server01 -Status | Format-List
0
 
Krishna PatilCommented:
Simple 1 liner command
Get-Mailbox | Sort database, name | Format-Table name, database

And if you want to save result in csv or txt file then

Get-Mailbox | Sort database, name | Format-Table name, database > C:\a.csv
0
 
Pankaj_401Commented:
Use Get mailbox database cmdlet and select the format as per your need:
Get-MailboxDatabase -Identity MailboxDatabase01 -Server Server01 -Status | Format-List
In addition, you can also check this link(http://www.exchangemailboxrecovery.co.uk/) to retrieve list of mailbox from mailbox database.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.