Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a quick way to obtain a per-user accounting of the size of the "Deleted Items" folder on an Exchange 2010 SP1 system. This is a recent migration, and I'm just trying to get an overview/baseline before implementing policy.

share|improve this question
up vote 5 down vote accepted

This will get the deleted item size for all users, sort it and throw it in a table for you:

Get-Mailbox | Get-MailboxStatistics | sort TotalDeletedItemSize | ft DisplayName,TotalDeletedItemSize

and if you want to export to csv you need to change the "ft" to "Select-Object"

Get-Mailbox | Get-MailboxStatistics | sort TotalDeletedItemSize | Select-object DisplayName,TotalDeletedItemSize | export-csv filePath.csv

share|improve this answer
That works. Thank you! – ewwhite May 31 '11 at 18:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.