Exchange 2010 DeletedItemCount Powershell
I am looking at statistics for the deleted items folder and dumpster using the following... get-mailbox | Get-MailboxStatistics | Select @{n="DisplayName";e={$_.DisplayName}}, StorageGroupName,@{e={$_.TotalDeletedItemSize.Value.ToMB()};n="TotalDeletedItemsSize(MB)"}, DeletedItemCount, @{e={$_.TotalItemSize.Value.ToMB()};n="TotalItemSize(MB)"}, ItemCount, StorageLimitStatus | Sort-Object "TotalItemSize(MB)" | ft All my users though show extremely high deleteditemcounts compared to what is actually in their mailbox. Mine for example is a little over 2400 - I have "0" items in my deleteditems folder and have also purged my dumpster... What are all these deleted items and how do I get rid of them... they are taking up a ton of space! John
April 5th, 2011 11:37pm

Do you have singleitemrecoveryenabled on mailboxes? Get-mailbox -identity yourmailbox | fl single* Read http://blogs.technet.com/b/exchange/archive/2009/09/25/3408389.aspx
Free Windows Admin Tool Kit Click here and download it now
April 5th, 2011 11:51pm

· How long ago did you purge the dumpster for your personal mailbox? · Do you have single-item recovery enabled? · Are any users on legal hold? Mike Crowley Check out My Blog!
April 5th, 2011 11:52pm

SingleItemRecoveryEnabled : False
Free Windows Admin Tool Kit Click here and download it now
April 5th, 2011 11:54pm

about 15 minutes before I got the counts. but even before I purged there was only like 20 in my deleted items folder and maybe 200 in the dumpster - no where near 2400 that it still shows. singleitemrecoveryenabled : False no legal hold
April 5th, 2011 11:56pm

Are you running e2k10 sp1 ? looks like a bug fixed in RU3. http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/0f73bf48-aa13-413e-b786-10f7bfcad316/
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2011 12:05am

Are you running e2k10 sp1 ? looks like a bug fixed in RU3. http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/0f73bf48-aa13-413e-b786-10f7bfcad316/ That must be the problem. I looked though this article and there was a section that had this... --- Yes we did. There is a fix in Exchange 2010 SP1 Rollup 3. Should be released within one month... Temporary solution: 1) Set-Mailbox -Identity <user-identitiy> -CalendarVersionStoreDisabled:$true 2) Start-ManagedFolderAssistant -Identity <user-identitiy> 1 will prevent further escalation of the problem and 2 will clean up space. Please note that this fix has consequences and you should check out Calander Repair before implementing. http://technet.microsoft.com/en-us/library/ee424432.asp. --- I tried this and then my deleted item count was "0" as it should be. I will load the latest patch Thanks John
April 6th, 2011 12:14am

Exchange team pulled the latest patch after issues with Blackberry. the patch is scheduled for rerelease in couple weeks.
Free Windows Admin Tool Kit Click here and download it now
April 6th, 2011 12:18am

I just read that - thanks Looks like I will have to wait a few weeks for the deleted item count fix then John
April 6th, 2011 12:27am

Re-Released now Microsoft Exchange Server 2010 SP1 Update Rollup 3
Free Windows Admin Tool Kit Click here and download it now
April 7th, 2011 1:20pm

Are you running e2k10 sp1 ? looks like a bug fixed in RU3. http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/0f73bf48-aa13-413e-b786-10f7bfcad316/ That must be the problem. I looked though this article and there was a section that had this... --- Yes we did. There is a fix in Exchange 2010 SP1 Rollup 3. Should be released within one month... Temporary solution: 1) Set-Mailbox -Identity <user-identitiy> -CalendarVersionStoreDisabled:$true 2) Start-ManagedFolderAssistant -Identity <user-identitiy> 1 will prevent further escalation of the problem and 2 will clean up space. Please note that this fix has consequences and you should check out Calander Repair before implementing. http://technet.microsoft.com/en-us/library/ee424432.asp. --- I tried this and then my deleted item count was "0" as it should be. I will load the latest patch Thanks John We have rollup 3-v3 installed and we had a mailbox that was still experiencing this issue. Thanks you for this post as it help resolve the issue.
July 29th, 2011 11:20am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics