About Me

My photo
"Smoke me a kipper, I'll be back for Breakfast" - one man's journey through life with IT and all things related to it whether it's purely technical or just for fun...

Note - Any posts on this blog are purely my own personal opinion and do not reflect any opinions of companies and/or people that I mention. All advice is given to help you but I cannot be held responsible for your actions should you decide you want to try these things out yourself!

Thursday 24 May 2012

Exchange 2010 - How much White Space do I have?

Haven't posted a blog entry for quite some time but that's because I haven't had the time to do one.  Fortunately this little gem landed on my door last week and I think it needs to be shared.  In Exchange 2007 we had to wait for Online Database Maintenance to tells us how much White Space was in a mailbox store.  Now in Exchange 2010 we have a great PowerShell cmdlet that does it all for us:

Get-MailboxDatabase -Status | ft name,databasesize,availablenewmailboxspace

The output will tell you exact how much Available White Space you have - if it's a high amount then to reclaim you have to migrate all your mailboxes to a new store.  Sounds bizarre but it's the best and safest way to do it to avoid corruption, Microsoft do not recommend using ESEUTIL on Exchange 2010 stores.  This is due to the new database schema that is now used.

Happy Defragging!