Mailbox Statistics

Posted on 2011-05-02
Medium Priority
Last Modified: 2012-05-11

I have an exchange 2010 sp1 server called EX01, that has 50 users and 5 mailbox databases.
Is there a script I can use to get all the mailbox that reside on this server and include this information: Mailbox Name, Database and Mailbox size.

Then can this be imported to a csv document.

Is there a ps script available for me to achieve this?

Question by:Treadstone21

Accepted Solution

Osmoze earned 2000 total points
ID: 35505265
the commande to get the infomation ,

Get-MailboxStatistics -Database <DatabaseIdParameter> [-DomainController <Fqdn>] | fl name,*size*

specify the name of the 5 dbs ,


Expert Comment

by:Praveen Balan
ID: 37529976
you may use this as well..

Get-MailboxStatistics -Server ServerName | Select DisplayName,TotalItemSize,DatabaseName | Export-Csv c:\result.csv

the result will be exported to the file result.csv under c root. The above command will get the complete mailbox details of the mentioned mailbox server.


Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question