First start with the complete list of mailboxes:
Get-mailbox
Then create a table with only the names and the mailbox sizes:
Get-mailbox | get-mailboxstatistics | ft displayname,totalitemsize
Now sort by totalitemsize, descending
Get-mailbox | get-mailboxstatistics | sort-object totalitemsize –descending | ft displayname,totalitemsize
Tags:Exchange 2010, Powershell
Posted in Alex de Jong and Exchange 2010 by alexdejong on februari 15th, 2011 at 16:37.
3 comments
Previous Post: Zero Day, the novel.. by Mark Russinovich Next Post: Windows Intune partner workshop (correction)