You are hereEmail / Exchange 2007 - Export list of users and mailbox sizes

Exchange 2007 - Export list of users and mailbox sizes


By maho - Posted on 23 February 2010

Today I got a request to export mailbox sizes from our exchange server, of course there is no obvious way to do that from the GUI..

So running the following gives you a csv file with displayname, itemcount and mailbox size in MB

get-mailbox |get-mailboxstatistics |select-object displayname, itemcount, @{expression={$_.TotalItemSize.Value.ToMB()}} |export-csv 'C:\Documents and Settings\administrator.AD\Desktop\exchange users.csv'

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.