Question: Archive mailbox from Exchange 2007

mxgong
mxgong used Ask the Experts™
on
Hi All

I would like to archive old users' mailbox from our exchange 2007 mailbox database. The users had left company and they may not come back. So I need to archive their mailbox and burn it into DVD media.

I know there is a way to get this done that is "export mailbox to pst" file. But I have few questions as below if someone can confirm it to me:

* What's the difference archive mailbox & export mailbox? For my unstanding, archive means export+delete, right?
* if I choose export method, So, I export the mailbox from exchange, and delete this user's mailbox ?
* is there a way to archive mailbox instead of export+delete in server side?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Adam BrownSenior Systems Admin
Top Expert 2010

Commented:
Archiving is not the way to get this done. Manual Archiving doesn't work well. If you are connected to the user's computer, you can simply export it to PST using Outlook. If you have a Windows XP SP3 or greater (32 bit) OS, with Outlook 2003SP2 or greater you can download the Exchange 2007 Management Tools (http://www.microsoft.com/downloads/details.aspx?FamilyID=6be38633-7248-4532-929b-76e9c677e802&displaylang=en) and export directly from the exchange server. Download and install only the Exchange management tools. Open the Exchange Management Shell and enter the string I've attached. This will export that user's folder directly to the drive.That command will pull the PST file and save it as <username>.pst.
export-mailbox -identity <User's login name> -pstfolderpath <wherever you want to save the PST file>

Open in new window

Author

Commented:
Hi Acbrown2010.

Thanks for your quick reply and detailed information. I have done few times to export user's mailbox from exchange 2007 from a 32 bit OS. But I would like to know is there any way can get mailbox and delete mailbox at the same time?

In this case, I have to export user's mailbox and remove it from exchange, a little bit noying. ;  )
Senior Systems Admin
Top Expert 2010
Commented:
The powershell method is the best for this. Basically it's remove-mailbox -identity <username>. If you wanted to script it, copy the attached script into notepad and save it as a .ps1 file.
The code prompts you for an email address, exports the mailbox to C:\ and then deletes the mailbox. It will prompt you to accept before deleting the mailbox.

Unfortunately, there is not single system for exporting a mailbox and deleting it at the same time. This script is about as good as you're going to get.
write-host "Enter E-mail Address for mailbox export and delete:"
$user = read-host
export-mailbox -identity $user -pstfolderpath C:\
remove-mailbox -identity $user

Open in new window

Author

Commented:
Thanks acbrown2010.

Cheers

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial