locked
Outlook 2010 reporting larger deleted items folder than Exchange RRS feed

  • Question

  • We are running Exchange 2010 SP2.

    Currently if I run the following powershell command 

    Get-Mailbox -Database "Mailbox Database Name" | Get-MailboxStatistics | ft displayname,totaldeleteditemsize,totalitemsize

    The output I receive for the "TotelDeletedItemSize" is 3.373MB.  If I right click my "Deleted Items" in Outlook 2010 I get the reported _Server Data Size_ of 425MB.  

    Right now we permantely delete items in the "Deleted Items" folder every 90 days based on a retention policy.  Can anyone tell me why the numbers are different from the powershell command and Outlook?  

    Tuesday, May 8, 2012 5:04 PM

Answers

  • If you want to get the output for every mailbox on the system, you can use this command:

    Get-mailbox -resultsize unlimited| Get-MailboxFolderStatistics -FolderScope all | sort-object  FolderSize -Descending| FT Identity, FolderSize -wrap

    If you only need DeletedItems folder output for every mailbox on the system, you can use this command:

    Get-mailbox -resultsize unlimited| Get-MailboxFolderStatistics -FolderScope DeletedItems | sort-object  FolderSize -Descending| FT Identity, FolderSize -wrap

    Thanks,

     Evan Liu

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contacttngfb@microsoft.com 


    Evan Liu

    TechNet Community Support

    Thursday, May 10, 2012 1:34 AM
  • On Wed, 9 May 2012 15:33:43 +0000, John Scaramuzzo wrote:
     
    >Is there a way to get this same output for every mailbox on the system?
     
    Just replace the "-identity usermailbox" with "-resultsize unlimited".
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    Thursday, May 10, 2012 3:01 AM

All replies

  • On Tue, 8 May 2012 17:04:22 +0000, John Scaramuzzo wrote:
     
    >
    >
    >We are running Exchange 2010 SP2.
    >
    >Currently if I run the following powershell command
    >
    >??Get-Mailbox -Database "Mailbox Database Name" | Get-MailboxStatistics | ft displayname,totaldeleteditemsize,totalitemsize
    >
    >The output I receive for the "TotelDeletedItemSize" is 3.373MB. If I right click my "Deleted Items" in Outlook 2010 I get the reported _Server Data Size_ of 425MB.
    >
    >Right now we permantely delete items in the "Deleted Items" folder every 90 days based on a retention policy. Can anyone tell me why the numbers are different from the powershell command and Outlook?
     
    Because the value reported by the get-mailboxstatistics is the size of
    the *recoverable* deleted items, not the size of the items that are
    still visible to you in the Deleted Items folder.
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    Wednesday, May 9, 2012 2:22 AM
  • Hello John,

    As far as I know, the TotalDeletedItemSize is the dumpster size, if you want to check the Deleted Items folder size, you can use this command to do that:

    Get-mailbox -identity usermailbox| Get-MailboxFolderStatistics -FolderScope all | sort-object  FolderSize -Descending| FT Identity, FolderSize -wrap

    Here is a related document for you:

    Get-MailboxFolderStatistics

    http://technet.microsoft.com/en-us/library/aa996762.aspx

    Thanks,

    Evan Liu

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com  


    Evan Liu

    TechNet Community Support


    • Edited by Evan Liu Wednesday, May 9, 2012 5:48 AM type
    • Proposed as answer by Evan Liu Monday, May 21, 2012 1:41 AM
    Wednesday, May 9, 2012 5:47 AM
  • Is there a way to get this same output for every mailbox on the system?
    Wednesday, May 9, 2012 3:33 PM
  • If you want to get the output for every mailbox on the system, you can use this command:

    Get-mailbox -resultsize unlimited| Get-MailboxFolderStatistics -FolderScope all | sort-object  FolderSize -Descending| FT Identity, FolderSize -wrap

    If you only need DeletedItems folder output for every mailbox on the system, you can use this command:

    Get-mailbox -resultsize unlimited| Get-MailboxFolderStatistics -FolderScope DeletedItems | sort-object  FolderSize -Descending| FT Identity, FolderSize -wrap

    Thanks,

     Evan Liu

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contacttngfb@microsoft.com 


    Evan Liu

    TechNet Community Support

    Thursday, May 10, 2012 1:34 AM
  • On Wed, 9 May 2012 15:33:43 +0000, John Scaramuzzo wrote:
     
    >Is there a way to get this same output for every mailbox on the system?
     
    Just replace the "-identity usermailbox" with "-resultsize unlimited".
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    Thursday, May 10, 2012 3:01 AM
  • Hello,

    Any updates on this issue?

    Thanks,

    Evan Liu

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contacttngfb@microsoft.com


    Evan Liu

    TechNet Community Support

    Monday, May 14, 2012 2:38 AM
  • These answers solved my issue.

    Thanks for the help.

    Monday, May 21, 2012 2:00 PM