<

Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

Import Outlook PST File to Exchange 2013 Using Power Shell

Published on
6,947 Points
3,147 Views
3 Endorsements
Last Modified:
Martine Andrue
I am a Data Recovery Specialist working as a software developer.
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Import PST File into Exchange Mailbox is a task which is frequently performed by exchange administrator. So to import PST File you can use Power-Shell command, Power-Shell command is a scripting language which is used for task atomization. It also enables Administrator to remove existing import request, read the complete article to know how to import pst file in exchange by using new-mailboximportrequest command.
 

Complete Description of Import PST

 

As we know that the Microsoft Exchange Server is a mail server that uses Outlook as the mail client to enable entire feature of mailing process. Outlook stores entire data into the .pst file and in many situations exchange administrator need to import the pst file into Exchange mailbox. In term to provide better way to manage the exchange operation Microsoft introduced a scripting language with exchange 2007. Before executing import command you need to assign some rights to the mailbox, So now firstly lets discuss how to assign all rights to mailbox.

To assign the rights to the mailbox before executing import command you need to run the command given below, remember one thing that even the Administrator's mailbox also does not have permission to perform import operation.

                   

ManagementRoleAssignment –Role “Mailbox Import Export” –User Mack

Open in new window



Here “Mack” is the user's account name to which you want to assign the import/export role and this way only assigns the role to single mailbox if you want assign this role to more than one mailbox then you need to create a group and then add the mailboxes name in that group. You can create a group by running the command command given below.
 

 New-ManagementRoleAssignment -Role “Mailbox Import Export” -SecurityGroup “MSExchangeGroup”

Open in new window



Here “MSExchangeGroup” is the group name which you have created and you need to add the mailboxes in this group.
 

Import PST To Exchange 2013 using PowerShell

 

Now use New-MailboxImportRequest to began the exchange import operation, you can create more than one mailbox import request on a single mailbox and every import request you need to specify the a unique name for every request. By default Microsoft Exchange automatically generates up to 10 unique name for every import request if you want add more than 10 import request you then you need to specify unique names.

      

 New-MailboxImportRequest -Mailbox mack -FilePath \\RP-GH03\PST\mack.pst

Open in new window


This command will collect entire data from the source folder to the current mailbox folder structure. New to import pst into the targeted folder in the exchange 2013 mailbox run the command given below.

         

 New-MailboxImportRequest -Mailbox mack -FilePath \\RP-GH03\PST\mack.pst -TargetRootFolder “Old_mail” -IncludeFolders “#Inbox#”

Open in new window


You can use any folder as the destination folder to import pst and by executing this command import task will be inserted in the queue. You can view the progress report in percentage execute command given below.
 

        Get-MailboxImportRequest | Get-MailboxImportRequestStatistics

Open in new window



Conclusion

in this article I tried to put all information about how to import outlook pst to Exchange mailbox using Power Shell command and I hope this effort this helpful for you.
3
Comment
0 Comments

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Join & Write a Comment

This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month