29 February, 2012

How to check exchange database Whitespaces and Backup status in Exchange 2010?


Hello,
While performing messaging admin duty, many times have to perform the exchange database maintenance. Without knowing the knowing the whitespace you cannot perform database defrag.
In earlier Exchange version like Exchange server 2000, 2003 and 2007, we could examining the application log for event ID 1221 which includes the amount of white space that could have been defragged and save us space.
In exchange 2010, event id 1221 does not exist anymore, and in order for us to find the whitespace, Microsoft has provided an appropriate command shell:

Get-MailboxDatabase -Status | Select-Object Server,Name,AvailableNewMailboxSpace

The same goes for backup states, as we can run the following command to get the last full backup state:

Get-MailboxDatabase -Status | Sort -Property LastFullBackup |ft Identity,LastFullBackup

Thank you!
If you have any queries/questions regarding the above mentioned information then please let me know.

No comments:

Post a Comment

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.