Exchange 2007 archive mailbox
In my Exchange 2003 server I havean archive mailbox specified and each week a batch job runs Exmerge to export the archive mailbox to a PST file using the Archive setting which deletes the messages as they are exported.
This works like a charm every week for months and month without a hickup.
Assuming the Archive mailbox function still works in Exchange 2007 SP1, how do I do the archive export?
I know the powershell command-let is:
Export-Mailbox Identity <mailboxUser> -PSTFolderPath <pathToSavePST>
but how do I specify that this is an archive export and delete the mailbox contents as well?
Cheers,
Mark.
May 7th, 2008 9:56am
You can use -DeleteContent switch which deletes the mailbox content after exporting.
Export-Mailbox Identity <mailboxUser> -PSTFolderPath <pathToSavePST>
-StartDate "01/02/08" EndDate "01/05/08" -DeleteContent
Reference - Export-Mailbox
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2008 1:09pm