If you run the following cmdlet in Exchange Management Shell you may get all mailboxes with Outboxes that Exchange states has items in it. If you check from Outlook the user’s Outbox, it is empty.
get-mailbox | get-mailboxfolderstatistics | where-object { $_.Name -eq 'Outbox' -and $_.FolderSize -gt 0 }| sort-object itemsinfolder -descending | select-object Identity,ItemsInFolder,FolderSize | ft -autosize
Launch MFCMapi on the user's computer or from a terminal server logged in as the user.
- Session->Logon And Display Store Table
- Double click Desired Mailbox
- Expand Root Container
- Expand Top of Information Store
- Right click Outbox and select Empty Items and Subfolders from Folder
- Check DEL_ASSOCIATED
- Check Hard Deletion
- Click OK
Wait about 30 minutes for Exchange to update itself and run the cmdlet again
get-mailbox | get-mailboxfolderstatistics | where-object { $_.Name -eq 'Outbox' -and $_.FolderSize -gt 0 }| sort-object itemsinfolder -descending | select-object Identity,ItemsInFolder,FolderSize | ft -autosize
MFCMapi can be downloaded here:
http://mfcmapi.codeplex.com/
No comments:
Post a Comment