Asked by:
Mailbox Import (PST) File

Question
-
All replies
-
Please try to go through
new-mailboximportrequest (but you would need role assignments so that this command is available to you)
Thanks & Regards Ramandeep Singh
-
Hi,
You can use the following command to import PST files to an archive folder:
New-MailboxImportRequest -Mailbox <MailboxLocationIdParameter> -FilePath \\server\share\User.pst -IsArchive -TargetRootFolder <String>
For more details: Procedures for mailbox imports from .pst files in Exchange Server
For importing different pst files to different mailboxes, you can use the following command to import multiple pst files:
Dir \\sharedpath\*.pst | %{ New-MailboxImportRequest -Name <String> -BatchName <String> -Mailbox $_.BaseName -FilePath $_.FullName -TargetRootFolder <folder name>}
This command imports all of the .pst files on a shared folder. Each .pst file name is named after a corresponding user's alias. The command creates an import request for all the .pst files and imports the data into the matching mailbox.
You can check this thread for detailed test results: How to migrate mdaemon mailbox into exchange 2016?
Regards,
Lydia Zhou
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
- Edited by Lydia ZhouMicrosoft contingent staff, Moderator Monday, July 22, 2019 8:31 AM
- Proposed as answer by Lydia ZhouMicrosoft contingent staff, Moderator Wednesday, July 24, 2019 1:43 AM
-
Hi,
Did you try the commands above?
Did you import pst files successfully?
If you need further help, please feel free to reply this post directly so we will be notified to follow it up.
Regards,
Lydia Zhou
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.
- Proposed as answer by Lydia ZhouMicrosoft contingent staff, Moderator Thursday, August 1, 2019 1:49 AM