I want to make a list of all the mailboxes in a database, and I want to sort it decending based on the size of the mailboxes. In Exchange 2003 you could do this in the GUI, but no more for some reason. So I found a commando that should do this: "Get-MailboxStatistic -Database "DBname"
But it doesnt list the size of the mailboxes. I found out how to do this in Exchange 2007: [PS] C:\Windows\system32>Get-MailboxStatistics |ft DisplayName,TotalItemsSize,ItemCount,StorageLimitStatus
But this doesnt work in Exchange 2010. When I try I get a response asking about which mailbox I wish to list:
cmdlet Get-MailboxStatistics at command pipeline position 1
Supply values for the following parameters:
The problem is that I want to include ALL the mailboxes in the DB. So how do I do this?