Link to home
Start Free TrialLog in
Avatar of Blade42
Blade42

asked on

Exchange 2010 - total size consumed by mailbox retention policy

I am being asked to bump up the deleted items retention policy on our Exchange Environment from the default 14 days.  I need to evaluate the current amount of space taken up by the retained deleted items for 30, 60 and 90 day intervals.

So I am trying to get a baseline for how much space is being taken up currently.  

I have tried looking at the following perfmon but the counters show 0:

MSExchangeISMailbox: Total Size of Recoverable Items

and I have attempted this Powershell the created .csv also shows 0.  
get-mailbox -resultsize unlimited | Get-MailboxFolderStatistics | where{$_.name -like "deleted* "} | ft identity, FolderAndSubfolderSize >c:/report\report.csv

I have looked at several mailboxes through OWA and verified that there are recoverable items as far back as 14 days so I should be seeing some storage being used.
ASKER CERTIFIED SOLUTION
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Blade42
Blade42

ASKER

Thank you the original command came up with zero's again but looking at the link I was able to put together this command which got me what I wanted:

Get-Mailbox -Server 'ServerName' -ResultSize Unlimited : Get-MailboxStatistics -FolderScope RecoverableItems | Sort-Object FolderSize -Descending:FT Identity, FolderSize, FolderType
Perfecto .... me at gome so didnt remember the correct name for "TotalDeletedItemSize" (Dumpster) ..... good to know atleast i was able to help !!

- Rancy