Thursday 19 June 2014

In Exchange 2010 – How to Export/Import Mailboxes?

Share it Please
In this blog post you can find out that How to Export and Import Mailboxes in Exchange Server 2010. Before you will proceed with the export or import task of the mailboxes, first you need to full-fill the prerequisites, which turn your task easy & quick.

Pre-requirements:

1. You should have 64Bit Windows Operating System

2. Powershell 2.0 should be installed

3. .Net Framework 3.51 should be installed

4. Outlook Office 2010 on 64 Bit should be installed

5. Exchange 2010 management tools should be installed

6. Domain membership should be created for this client

7. You should be the member of Administrative account or you have the Full Administrative permission rights

The very first thing you need to grant the rights, even to those accounts that are organization administrators. So, you need to apply this command in shell:

New-ManagmentRoleAssignment –Role “Mailbox Import Export” –User Administrator

Now, just restart your Exchange Management Shell to access the new cmdlets.

Next, you need to create the network share as it is used as the file path of the exported PST files. Now, you need to give the read/write permission to the file under Exchange Trusted Subsystem.


Ok, let’s Import the Data from .PST file into Exchange Server 2010 Mailbox first.

To perform this task you need this command New-MailboxImportRequest. If I want to import my mark.pst file that has located in a folder “Outlook” on my server WIN8.MAILTEST.COM to Exchange Server 2010 mailbox then I need to deploy this cmdlet:
New-MailboxImportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\Outlook\mark.pst
This command will simply import all data from pst file into the specified mailbox. Also, it will import data from dumpster folder. If you want to check the status the imported mailbox then you need to apply this command:
Get-MailboxImportRequest or Get-MailboxImportRequestStatistics
Basic commands are not enough when you need to import selected folder or selected data from the pst file. To import data from selected folder you just need to include this parameter in the command “-IncludeFolder”:
New-MailboxImportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\Outlook\mark.pst -IncludeFolders “#Inbox#”
You can also import data from the PST file to a new folder in the mailbox by using the following cmdlet:
New-MailboxImportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\Outlook\mark.pst -TargetRootFolder “Mark Important Emails”
Note: if the targeted root folder does not exist then it will created automatically after applying this above command.

You can import the Archive from the pst file into live Exchange mailbox account:
New-MailboxImportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\Outlook\mark.pst -IsArchive
Similarly, you need to apply commands for Exporting data from Mailbox to PST file in Exchange Server 2010

To exporting mailbox to a pst file, you just need to apply this command:
New-MailboxExportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\ExchangeMailbox\markjonathan.pst
Now, if you want to check the status of the exported mailbox then you need to apply this cmdlet:
Get-MailboxExportRequest or Get-MailboxExportRequestStatistics
If you want to export data from selected folder of the mailbox then you need to apply this command:
New-MailboxExportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\ExchangeMailbox\markjonathan.pst -IncludeFolders “#Inbox#”
Also, I can export data from mailbox to a new created folder in .pst file:
New-MailboxExportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\ExchangeMailbox\markjonathan.pst -TargetRootFolder “Mark Exported Emails”
Export the archive folder from mailbox to pst file:
New-MailboxExportRequest –Mailbox Mark Jonathan –FilePath \\WIN8\ExchangeMailbox\markjonathan.pst -IsArchive 
These all above commands helps you to export or import mailbox in Exchange Server 2010 but if you face any trouble in Exchange server 2010 and you unable to extract data from Exchange database file .edb then you can use a third party solution which helps you to extract mailboxes from .edb files and export mailbox either into live Exchange Server or Outlook .pst file. Follow this post to know how this tool works on mailboxes conversion from edb to pst or edb to edb.

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