I have a user that is waaaay over her limit so I trying to empty her deleted and sent items. I ran the following shell command:
export-mailbox -identity "heather" -includefolders "\deleted items" -deletecontent
But got the following error:
Export-Mailbox : Error was found for Heather Whitley (Heather@taylorrealestate.
com) because: Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
At line:1 char:15
+ export-mailbox <<<< -identity "heather" -includefolders "\deleted items" -deletecontent
+ CategoryInfo : InvalidOperation: (0:Int32) [Export-Mailbox], Re
+ FullyQualifiedErrorId : DE389E14,Microsoft.Exchange.Management.Recipient