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
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”
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
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#”
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
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.