Hi,
after doing some research I have decided to post a question here, as I wasn't able to find an answer to this particular problem.
I am trying to find out exact number of emails in any particular mailbox (using Get-MailboxStatistics mailboxname) or in folder within a mailbox (using Get-MailboxFolderStatistics mailboxname -FolderScope FolderName). The results I'm getting are not reflecting the actual number of emails that are shown in Outlook - they are usually 10+ higher. Even when I completely wipe the mailbox clean, it is reporting about 10 items in TotalItemCount.
So far, I have tried the following:
- Removing all deleted items & setting 'Keep deleted items for (days)' to 0
- Making sure there are no rules in the mailbox (afaik rules get counted as items as well)
- Repairing mailbox: New-MailboxRepairRequest -Mailbox MailboxName -CorruptionType SearchFolder, AggregateCounts, ProvisionedFolder, FolderView
- Opening mailbox/folder with MFCMAPI which then also shows wrong item count, yet doesn't display any corrupted emails or entries - just blank screen
I have read somewhere that when an email is marked as private then it won't show on a shared mailbox. But this cannot be the case here, as this is affecting all mailboxes, not just shared mailboxes.
Afaik, our organization has had this problem ever since we migrated from Exchange 2003, but I cannot verify this 100%. We are now running on Exchange 2010.
I am, by no means, an Exchange expert. Any advice/suggestion is more than welcome.
Thanks.