Soldato
- Joined
- 25 Mar 2004
- Posts
- 15,990
- Location
- Fareham
Learnt something new today, if you ever need to delete a million emails from an Exchange mailbox, then I highly recommend using MfcMapi to do it. Find the folder, right click and choose the option to delete items with hard deletion.
Outlook conks out with that many items in the inbox, and deleting via Export-Mailbox with -DeleteContent:$True only deletes them when it finishes processing everything, and for me this would have taken days to complete.
MfcMapi appeared to conk out as well but checking with Get-MailboxStatistics -Identity "Mailbox" periodically showed the item count was dropping quite fast.
Might be useful info for other pepole who get into a situation like this.
Outlook conks out with that many items in the inbox, and deleting via Export-Mailbox with -DeleteContent:$True only deletes them when it finishes processing everything, and for me this would have taken days to complete.
MfcMapi appeared to conk out as well but checking with Get-MailboxStatistics -Identity "Mailbox" periodically showed the item count was dropping quite fast.
Might be useful info for other pepole who get into a situation like this.