Export and Delete mailbox content Exchange 2010 SP1
Hello,
We have Exchange 2010 SP1 with Roll-up 4. For some mailbox we need to export the content to pst and delete the exported content from the mailbox.
In Exchange 2007, we use to do by running the following command:
Export-Mailbox -Identity <mailboxname> PSTFolderPath <PSTpath> -DeleteContent
In Exchange 2010, we use the following command to export to pst but we are not able to delete this exported content:
New-MailboxExportRequest -Mailbox <"mailboxname"> -FilePath
<pstpath>
Kindly let us know how to delete these exported content from the mailbox.
Thanks
May 3rd, 2012 9:36am
Yes, thanks for the solution.
We ran this command and it worked
Search-Mailbox -id "UserName" -DeleteContent
Free Windows Admin Tool Kit Click here and download it now
May 4th, 2012 6:18am