Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Import Outlook PST File to Exchange 2013 Using Power Shell

Published on
6,302 Points
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


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.
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Suggested Courses

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month