Exchange 2010–Get mailboxes above certain size

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

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.



Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.