If you have recently deleted any large mailboxes from said database store run this command
To clean up the mailbox database you need to run the clean-mailboxdatabase command.
clean-mailboxdatabase -identity “Mailbox Database”
To check how much white space you have on your databases you have to run the following command
Get-MailboxDatabase -Status | Sort-Object DatabaseSize -Descending | Format-Table Name, DatabaseSize, AvailableNewMailboxSpace
To perform the offline defrag use the following command
eseutil /d /p “D:\Exchangedata\Mdbdata\priv1.edb” /t”D:\Exchangedata\Mdbdata\tempdb.edb”
Replace the first part with the Database store you are doing the offline defrag on.
Posted in: Exchange