In exchange 2010, how can I sort the mailboxes by size to talk to certain users about deleting their deleted folders? How do you guys go about telling a user to keep their mailbox cleaned up?<\/p>","upvoteCount":2,"answerCount":10,"datePublished":"2012-01-23T08:57:01.000Z","author":{"@type":"Person","name":"scottlewis3575","url":"https://community.spiceworks.com/u/scottlewis3575"},"acceptedAnswer":{"@type":"Answer","text":"
We have Exchange 2007 and I use the Spiceworks Exchange Health widget as a quick and easy way to see mailbox sizes. I would guess this also works with 2010, but I don’t know for sure.<\/p>","upvoteCount":0,"datePublished":"2012-01-23T09:13:26.000Z","url":"https://community.spiceworks.com/t/how-do-i-sort-mailboxes-by-size/122419/2","author":{"@type":"Person","name":"janice777","url":"https://community.spiceworks.com/u/janice777"}},"suggestedAnswer":[{"@type":"Answer","text":"
In exchange 2010, how can I sort the mailboxes by size to talk to certain users about deleting their deleted folders? How do you guys go about telling a user to keep their mailbox cleaned up?<\/p>","upvoteCount":2,"datePublished":"2012-01-23T08:57:01.000Z","url":"https://community.spiceworks.com/t/how-do-i-sort-mailboxes-by-size/122419/1","author":{"@type":"Person","name":"scottlewis3575","url":"https://community.spiceworks.com/u/scottlewis3575"}},{"@type":"Answer","text":"
Easiest way would be to export them to a text file, then open in Excel and sort the Item column.<\/p>\n
Open the command shell and use the following command.<\/p>\n
Get-MailboxSatistics -database ‘name of DB you want the mailboxes from goes here’ >> C:\\mailbox_results.txt<\/p>\n
That will create a text file in the root of C with the statistics of every mailbox on the database you specify. Now simply open that in Excel and sort the column. You could even script this as a scheduled task to stay on top of it say monthly, email into SW and it would create a ticket for you.<\/p>\n
-Jay<\/p>","upvoteCount":0,"datePublished":"2012-01-23T09:19:29.000Z","url":"https://community.spiceworks.com/t/how-do-i-sort-mailboxes-by-size/122419/3","author":{"@type":"Person","name":"jay6111","url":"https://community.spiceworks.com/u/jay6111"}},{"@type":"Answer","text":"
Thanks guys! Didn’t think about the widget. Jay, your way is great but I will just look at the widget easier to do from day to day.<\/p>","upvoteCount":0,"datePublished":"2012-01-23T09:29:36.000Z","url":"https://community.spiceworks.com/t/how-do-i-sort-mailboxes-by-size/122419/4","author":{"@type":"Person","name":"scottlewis3575","url":"https://community.spiceworks.com/u/scottlewis3575"}},{"@type":"Answer","text":"
Ooooo…I found an even better one, since the above just gives a mail count and not the size. This one you can keep in the shell or export to txt file and then open in Excel.<\/p>\n
Get-MailboxDatabase ‘name of DB’ | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalsize, itemcount<\/p>\n
If you want to export it add >> and the path with file name to the end of that.<\/p>\n
-Jay<\/p>","upvoteCount":0,"datePublished":"2012-01-23T09:29:51.000Z","url":"https://community.spiceworks.com/t/how-do-i-sort-mailboxes-by-size/122419/5","author":{"@type":"Person","name":"jay6111","url":"https://community.spiceworks.com/u/jay6111"}},{"@type":"Answer","text":"