Import PST Files into Exchange 2010 SP3

Hi there,

I've got about 50 .PST files that need to be imported into different users mailbox's that is on an Exchange 2010 SP3 server, whats the best way to import them?   I take it via PowerShell is the only way?

If so is the best command to use something like this :-

New-MailboxImportRequest -Mailbox USERNAME -IsArchive -FilePath \\PATHTOPST\PSTTOIMPORT.PST

If that is correct what would you say is a safe amount of imports to do at once?  The total amount of data to import will be about 40GB as well.

Thanks for any help :)
Jamie786Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
I would personally be doing this in batches. Yes you can used powershell to script this. See the below command...

Before you run this command you will need to ensure that you have the proper permissions assigned to your account.
New Management Role Assignment
New-ManagementRoleAssignment -Name "Import Export_Enterprise Support" -SecurityGroup "Enterprise Support" -Role "Mailbox Import 
Export"

Open in new window


$List = import-csv "c:\filename.csv"
ForEach ($User in $List) {
$User.UserMailbox
$User.PSTFile
New-New-MailboxImportRequest -Mailbox $User.UserMailbox -IsArchive -FilePath \\PATHTOPST\$User.PSTFile.PST
}

Open in new window


You need to construct your CSV link below...
UserMailbox                  PSTFile
msmith                                pst1.pst
mdowns                              pst2.pst
etc.

Once the script has completed you can use Get-MailboxImportRequest, to view all of the import status.

Will.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AmitIT ArchitectCommented:
Ya, Powershell is the easy way. Command is correct. Cross check from MS KB below. You can run the command for all user, rest Exchange will do it at the backend.


https://technet.microsoft.com/en-in/library/ff459261(v=exchg.141).aspx

View the status:
https://technet.microsoft.com/en-us/library/ff607427(v=exchg.141).aspx

Remember you might see failures during import, if there are corrupt items, default is 50 from EMS, above it, you need to pipe -acceptlargedataloss in your command.
0
Jamie786Author Commented:
Thanks for that Will I'll look at building the CSV file, would make life a lot easier!  I take it that if I want to import the current CSV mails with the same folder structure do I have to add any switches?  Also this isn't an archive mailbox its a live mailbox so is the -IsArchive switch needed?
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Will SzymkowskiSenior Solution ArchitectCommented:
Also this isn't an archive mailbox its a live mailbox so is the -IsArchive switch needed?

That is correct. I was just using your example.

Just remove it from the script.

Will.
0
Jamie786Author Commented:
Perfect, thank you for that I'll be doing the import on Saturday so will prepare with your script today and hopefully give it a go!
0
Jamie786Author Commented:
worked perfectly!
0
Robinsan ShawFreelancer BloggerCommented:
No, Not only the Powershell command method is the Single method to import PST File into Exchange Server. You can try the Demo version of Exchange Import Software that perfectly imports PST File Mailbox Data into Exchange Server 2016, 2013, 2010 and below version in Bulk.

To know more about the software visit the helpful link: Import PST File to Exchange 2010

Thanks & Regards
Robinsan shaw
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.