When running a large Exchange organization sometimes you need to know who keep bloating your database sizes. The following will allow you to find the top 10 mailboxes by size.<\/p>\n
Run the following to import the exchange commands.<\/p>\n
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010<\/p>\n<\/div>\n
Get-Mailbox -database DB100 | Get-MailboxStatistics | Sort-Object TotalItemSize -descending |Select-Object DisplayName,ItemCount,@{name=“MailboxSize”;exp={$_.totalitemsize}} -first 10<\/p>\n<\/div>","step":[{"@type":"HowToStep","name":"Open powershell","text":"\nRun the following to import the exchange commands.\n\nAdd-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010"},{"@type":"HowToStep","name":"After the import is successful run the following command (change the database name to the database you want to check)","text":"\nGet-Mailbox -database DB100 | Get-MailboxStatistics | Sort-Object TotalItemSize -descending |Select-Object DisplayName,ItemCount,@{name=\"MailboxSize\";exp={$_.totalitemsize}} -first 10"}]}
When running a large Exchange organization sometimes you need to know who keep bloating your database sizes. The following will allow you to find the top 10 mailboxes by size.
Run the following to import the exchange commands.
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Get-Mailbox -database DB100 | Get-MailboxStatistics | Sort-Object TotalItemSize -descending |Select-Object DisplayName,ItemCount,@{name=“MailboxSize”;exp={$_.totalitemsize}} -first 10