Exchange 2010–Get mailboxes above certain size

2017-12-07T09:55:06+00:00 October 17th, 2011|Exchange|

Here is a PowerShell command that can be used to fetch the mailbox sizes that are over a certain amount of total item size:

get-mailbox | Get-MailboxStatistics | where {$_.TotalItemSize -ge 600MB}

The script above can be simply amended to the amount of MB or GB in size that you want to find out. So, for example, if you change the value after –ge (greater or equal to) to 6GB then it will search for all mailboxes that are equal to or greater than 6GB in size.

It could be particularly useful for anyone looking to implement database limits to find out if there are any users that would be affected.

Cheers

Paul