Import Outlook PST File to Exchange 2013 Using Power Shell

Published on
8,607 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

The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Join & Write a Comment

Check How effective MS Exchange Expert thinks Exchange Mailbox Recovery by SysTools IS. Visit the Official site to get detailed information:- https://www.systoolsgroup.com/exchange-recovery.html (https://www.systoolsgroup.com/exchange-recovery.h…
Watch this simple and effective video tutorial to extract attachments from Outlook 2007 and try this easy method by yourself. No need to go anywhere, just watch the video and export attachments from Outlook in few simple steps. To know more, click h…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month