3

When I run this cmdlet, I get the following result:

Get-MailboxFolderStatistics user | ft FolderPath, FolderSize -autosize

FolderPath                    FolderSize
----------                    ----------
/Top of Information Store     156 B (156 bytes)  
/Calendar                     244.2 KB (250,025 bytes)  
/Contacts                     1.223 MB (1,282,252 bytes)  
/Contacts/SenderPhotoContacts 30.41 KB (31,139 bytes)  
/Conversation Action Settings 0 B (0 bytes)  
/Conversation History         206.2 KB (211,147 bytes)  
/Deleted Items                1.449 MB (1,519,602 bytes)  
/Drafts                       472 B (472 bytes)  
/Inbox                        618 MB (648,025,798 bytes)  
/Journal                      144 B (144 bytes)  
/Junk E-Mail                  131.9 KB (135,089 bytes)  
/News Feed                    0 B (0 bytes)  
/Notes                        1.847 KB (1,891 bytes)  
/Outbox                       0 B (0 bytes)  
/Quick Step Settings          0 B (0 bytes)  
/RSS Feeds                    0 B (0 bytes)  
/Sent Items                   6.754 KB (6,916 bytes)  
/Suggested Contacts           9.316 KB (9,540 bytes)  
/Sync Issues                  0 B (0 bytes)  
/Sync Issues/Conflicts        0 B (0 bytes)  
/Sync Issues/Local Failures   0 B (0 bytes)  
/Sync Issues/Server Failures  0 B (0 bytes)  
/Tasks                        7.994 KB (8,186 bytes)  
/Recoverable Items            12.16 MB (12,748,519 bytes)  
/Deletions                    0 B (0 bytes)  
/Purges                       0 B (0 bytes)  
/Versions                     0 B (0 bytes)  

But when I open the mailbox using both Outlook and OWA, the deleted items folder is empty. I'm guessing it's corrupted or something like that. Is it possible to recover it somehow?

Thanks.

2
  • I've just ran a quick test (by all means not scientific, but a test regardless) on an Exchange 2010 VM I have. When I delete everything from my Deleted Items, the Get-MailboxFolderStatistics shows 0 items and 0 bytes, so you definitely have something a bit peculiar going on. Dec 22, 2010 at 22:10
  • I've asked around for more information and I just got told that the user has been deleted from the Exchange, and someone recovered it from the disconnected mailbox to a different user. Can it have something to do with different GUID or something like that?
    – Ken
    Dec 23, 2010 at 2:37

3 Answers 3

0

Does Get-MailboxStatistics user | ft DeletedItemCount, TotalDeletedItemSize show you anything different (just out of curiosity really)?

As for reasons why you get this output, I have found there is a slight delay on the Get-MailboxStatistics and Get-MailboxFolderStatistics cmdlets so they might show stale data for a few minutes, but I am assuming because you've asked here that it's been longer than a few minutes.

Logical mailbox corruption is certainly possible, and Exchange provides a cmdlet to run a check on a mailbox. When you run this command it will disrupt the mailbox, so either do it while the user is not around or let them know their mailbox will be offline for a while.

Issue the command New-MailboxRepairRequest -Mailbox user -CorruptionType SearchFolder,AggregateCounts,ProvisionedFolder,FolderView -DetectOnly to run a check for logical mailbox corruption. If the cmdlet reports corruption, you can take out the -DetectOnly parameter to actually perform a mailbox repair. Please note that this is potentially a destructive operation (i.e it may delete items which are corrupted) so for good measures, you should always have a known good mailbox database backup handy just in case.

1
  • Issuing the Get-MailboxStatistics gives me the following output: DeletedItemCount : 2617 TotalDeletedItemSize : 12.17 MB (12,756,497 bytes). I can't run the repair command since we haven't upgraded to SP1. Should I export the mailbox to a development server so I can run the command? But I think the corrupted data might not be exported.
    – Ken
    Dec 23, 2010 at 2:21
0

Have you tried reseting the server? at times it actually clears any uneeded files.

4
  • I don't have the permission to restart the server and if I asked for it, I'd have to give a solid reason to.
    – Ken
    Dec 23, 2010 at 2:42
  • @John Riselvato this is quite clearly a server side issue. Restarting the client computer isnt going to help.
    – Zapto
    Mar 5, 2012 at 12:03
  • @t1nt1n I know this. This was answered 2 years ago buddy. I fixed my answer, i did mean reset the server not the clients computer. Mar 5, 2012 at 13:50
  • 1
    @JohnRiselvato Thanks for editing. We sometimes have a clean up. As if someone googles this it will be wrong. But now they have the right info :)
    – Zapto
    Mar 5, 2012 at 14:05
0

My guess is that what you are seeing is messages that have been hard deleted from the mailbox, but that are still in the Exchange database "dumpster". These would be the messages that you can recover (from Outlook) by selecting "recover deleted items" in the tools options. Those messages would still be associated with the mailbox, which is why you'd see them. Those messages are also the ones associated with the "keep deleted items for x days" in your Exchange database properties.

At least, that's how it was in Exchange 2003 and Exchange 2007.

11
  • I might be wrong on this, but I was under the impression hard deleted items went into the Recoverable Items, Deletions and Purges system folders. Dec 22, 2010 at 19:40
  • @Ben, after looking at a couple articles, it looks like hard delete (shift-delete) has been renamed soft delete. Either that, or my terminology is WAY off (which has been known to happen). In either case, I still think that this is what he is seeing. Dec 22, 2010 at 19:51
  • @Ben, and you are right, they did re-architect the dumpster process in 2010 and that is where the deleted items go. Anyways, I found this link, maybe it will help someone. My brain hurts right now. technet.microsoft.com/en-us/library/ee364755.aspx Dec 22, 2010 at 19:59
  • @Holocryptic - see this TechNet article about deleted items. Everything deleted goes into one of the folders under Recoverable Items. Dec 22, 2010 at 20:05
  • Heh you found the article I linked to while I was writing my comment :) Dec 22, 2010 at 20:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .