Tuesday 17 June 2014

How to Export or Import Mailbox from Exchange Server 2007

Share it Please
Possibilities might be arise where you might be need to export or import individuals mailboxes from Exchange Server 2007 to offline files. To accomplish this task you must be fulfill few per-requirements that must be met before you export/import to PST file:
  • Export/Import Mailboxes to PST task must be executed from 32 bit client machine with Exchange Management Tool (EMT) installed. The 32 bit dependency comes with the Outlook client.
  • Outlook 2007 or older editions of Outlook must be installed on the client machine.
  • User must be the part of Exchange Organization Admin or Exchange Server Admin from where the mailbox Export/Import task would be performed.
Exporting Single Mailbox to PST file

The most basic commandlet line is as follows:

Export-Mailbox –Identity <mailboxUser> -PSTFolderPath <pathToSavePST>

Note: PSTFolderPath must be pointing either to a folder or to a .pst file. If you targeted to the folder than mailbox alias name will be used as the target, also, if the .pst file already exists then the content of the mailbox will be merged into it.

Example:

Cmdlet Command to Export Single or Individual Mailbox to PST file

After the cmdlet task finishes, you will have the .pst ready in the specified location:

Location of PST File after Exporting


Exporting Multiple Mailboxes to PST Files

To execute the process of bulk mailboxes conversion task you just to add a pipe in the identities of the mailboxes. Note that when you execute the bulk exporting task then one .pst file will be created for each mailbox.

The most basic commandlet line is as follows:

Get-Mailbox -Database 'MDB' | Export-Mailbox -PSTFolderPath D:\PSTs


Importing Single Mailbox from PST File

The task of importing the .pst file content is quite similar with the above exporting task:

Import-Mailbox -Identity <mailboxUser> -PSTFolderPath <PSTFileLocation>

Again, PSTFolderPath must be the full path to the targeted directory where the .pst file lives or the .pst file stores. In case if you point to the a directory then the cmdlet will try to match the mailbox alias with the name of an existing .pst file in the specified folder and import all data into that mailbox.

Example:

Importing Mailbox from PST File


Importing Bulk Mailboxes from PST File

As the above export situation whenever the bulk importing task to be perform, the PSTFolderPath must be point to a folder from where the task logic will try to match mailboxes alias name with the .pst file name under that location, if there any difference found between the particular mailbox name and pst file name then that mailbox will be skipped.

Example:

Get-Mailbox -Database 'MDB' | Import-Mailbox -PSTFolderPath D:\PSTs


Export/Import Data into PST after Filtering

If you want only selected data to export or import from Exchange Server 2007 then you can perform it with the following cmdlet command, lets take an example, suppose you need to export only those messages that you received between 01 June, 2014 to 16 June, 2014 and those messages contain the word “Review” in the subject and “Project” or “alpha” in the body.

Export-Mailbox –Identity <mailboxUser> -PSTFolderPath <pathToSavePST> -StartDate 1/1/06 -EndDate 12/1/06 -SubjectKeywords:'review' -ContentKeywords:'project','alpha'

And. Similarly in Import

Import-Mailbox -Identity <mailboxUser> -PSTFolderPath <PSTFileLocation> -StartDate 1/1/06 -EndDate 12/1/06 -SubjectKeywords:'review' -ContentKeywords:'project','alpha'

Solution – If the problem arises during the Exchange Export/Import Task

Might be you will face any error situation during Exchange Export/Import task in that case if you need data from mailboxes or import pst file into live Exchange Server, you will need a third party solution.

With the third party conversion tool you can export mailboxes to pst file even if the exchange database is corrupted. Also, you can export mailbox into live Exchange Server environment again. To know more about, how the third party tool works & how the tool helps to export or import mailboxes in Exchange Server 2007, you can read this post: https://plus.google.com/115112572193304560946/posts/a6Ft72Z5RLF

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Social Share


Translate

Copyright 2014 | All Right Reserved
Exchange Server Solutions Guide