Empty mailbox report items and size
Empty mailbox report items and size Env: Servers: WS2003, E2007SP2 Clients: WinXPSP3, OWA-Outlook 2007 SP2 I'm using scheduled report for monitoring some resource mailboxes. powershell commands: Get-MailboxFolderStatistics <mailbox> -FolderScope Inbox | Export-html ... Date : 10.12.2010 08:50:29 Name : Inbox Identity : <----admin erase---->\Inbox FolderPath : /Inbox FolderId : LgAAAABqeHvM1donRaZ+jLOLBZ2uAQAeNS4wPAo6RKjdDdAKgn gxApLqUsbfAAAB FolderType : Inbox ItemsInFolder : 1 FolderSize : 138B ItemsInFolderAndSubfolders : 1 FolderAndSubfolderSize : 138B OldestItemReceivedDate : NewestItemReceivedDate : ManagedFolder : very clean 1 new message (short one) but when I go to mailbox with Outlook or OWA, I can't notice any message, Inbox is empty I neglected problem several months. But I started some tests yesterday and I came to interesting conclusions When I recreate mailbox (disable-mailbox and new-mailbox) report is exact, 0 for empty mailbox or correct number for test messages but only if I use Outlook when I start using OWA immediately mailbox get +1 message and +138B I used MFCmapi and noticed that mailbox got PR_ASSOC_CONTENT_COUNT : 1 PR_CONTENT_COUNT is 0 (no messages in mailbox) but my report also got 1 item and 138B size It's desperately and funny So I recreate mailbox again and refrain from using OWA Q: Is some solution to erase OWA settings without recreating mailbox? Is Get-MailboxFolderStatistics fixed in E2010 ??
December 10th, 2010 4:17am

Hi, As the article mentioned, a mailbox can hidden items that are never visible to the user and that are only used by applications. The Get-MaiboxFolderStatistics cmdlet can return hidden items for the following values: FolderSize, FolderAndSubfolderSize, ItemsInFolder, and ItemsInFilderAndSubfolders. And based on your description, I did a test and found that the result will report 1 item and 138B size when we log on to OWA and no email in Inbox actually. And then, I used MFCMAPI and got PR_ASSOC_CONTENT_COUNT: 1 and PR_CONTENT_COUNT:0. And next, I right-click the Inbox and selected “Open Associated Contents Table”, the hidden message will be viewed. When I deleted the hidden email, the result will return 0 item and 0B size if we ran the cmdlet. Best regards, Serena
Free Windows Admin Tool Kit Click here and download it now
December 15th, 2010 4:04am

It works THANK YOU very much I delete hidden message with subject:Err:0X8004010F=MAPI_E_NOT_FOUND, size 138B and I get zero size report with Get-MailboxFolderStatistics <----admin erase----> -FolderScope Inbox But every time I logon with OWA, message is created again. I fire MFCmapi again and delete message (it's less than recreating mailbox)
December 29th, 2010 7:38am

Be carefull I did this on my Inbox, because hidden messages have same subject:Err:0X8004010F=MAPI_E_NOT_FOUND and found that all my rules and views was gone Definitely MS must work with same options (-all, -hidden, -public, -system, -user ...) on Get-MailboxFolderStatistics
Free Windows Admin Tool Kit Click here and download it now
December 30th, 2010 4:59am

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

Other recent topics Other recent topics