How to tell how much of the recoverable items quota on a mailbox database has been used? RRS feed

  • Question

  • I am trying to find a command to show how much of the the recoverable items quota I am using on my exchange 2010 mailbox database?

    I can find the commands to amend the size of the warning quota and limit

    Set-MailboxDatabase -Identity MDB2 -RecoverableItemsWarningQuota 15GB -RecoverableItemsQuota 20GB

    but would ideally like to see how much of this quota I am currently using to enable me to decide if I need to increase the quota at all.

    Without the command I have no clue of how much I am using and do not want to risk hitting the warning level and start having items automatically removed in a FIFO fashion and risk users not being able to recover items they expect to be able to.

    Thanks for any help


    Wednesday, September 26, 2012 4:22 PM

All replies

  • Hi

    You can try to run this command:

    (Get-Mailboxstatistics -Database $db | %{$_.TotalDeletedItemSize.Value.ToMB()} | Measure-Object -sum).sum

    it will return sum of all deleted items in all mailboxes which are in database $db


    Best regards



    Wednesday, September 26, 2012 6:23 PM