I have been archiving mailboxes on our Exchange 2010 server and subsequently deleting large numbers of messages from nearly all mailboxes by setting retention periods on them. I would like to know how much of the database is now just whitespace so that I can gauge how much space will be freed up by defragging it using ESEUTIL.
So, I run:
Get-MailboxDatabase -Status | ft Name,DatabaseSize,AvailableNewMailboxSpace
But the columns that are returned for both DatabaseSize and AvailableNewMailboxSpace are blank.
I have tried specifying the database using the "-Identity" parameter, but the result is the same.
Am I omitting something necessary?