Posts

Showing posts with the label Exchange

Get the Exchange 2010 DB whitespace back

Image
For exchange administrators it is sometime necessary to see how our Exchange databases are doing. You don't want that the database and transaction log on the datastores run out of disk space. Most of the time I want to see the blank space that is within a database. This blank space is sometimes called: Free space Free database pages Available Mailbox Space White space Checking White Space in Exchange 2010 Get the Whitespace from all the databases, run the following command: Get-MailboxDatabase -Status | Sort-Object availablenewmailboxspace | ft name,databasesize,availablenewmailboxspace -auto Show all softdeleted and disabled mailboxes in Exchange 2010 After you choose the DB you want to clear the whitespace, please check the softdeleted and disabled mailbox accounts per database with the following command: Get-MailboxStatistics -Database " DB1 " | Where-Object {$_.DisconnectDate -Notlike $NULL} | Format-Table DisplayName, DisconnectDate, MailboxG...