Improve company productivity with a Business Account.Sign Up


Import Outlook PST File to Exchange 2013 Using Power Shell

Published on
7,638 Points
3 Endorsements
Last Modified:
Mack John
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.
Author:Mack John

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Join & Write a Comment

If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …
Watch the video which demonstrates the easy migration process from GroupWise to Outlook with the help of Kernel Novell GroupWise to Outlook software. User can export single or multiple mailboxes either by Online mode or via Command line mode with ea…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month