78 pst files need to move into Exchange 2013

I have 78 PST files I extracted from a retired 2003 exchange server edb file. I plan to create a profile in Outlook and add them back into exchange if needed.

Is there a way to run the command in powershell or in Exchange itself.

Thank you.
LVL 17
WORKS2011Managed IT, Cyber Security, BackupAsked:
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.

Chris CastoroClient ServicesCommented:
There is a powershell for this.

New-MailboxImportRequest

See this technet for syntax

https://technet.microsoft.com/en-us/library/ff607310(v=exchg.160).aspx
WORKS2011Managed IT, Cyber Security, BackupAuthor Commented:
only example 3 would work

Dir \\SERVER01\PSTshareRO\Recovered\*.pst | %{ New-MailboxImportRequest -Name RecoveredPST -BatchName Recovered -Mailbox $_.BaseName -FilePath $_.FullName -TargetRootFolder SubFolderInPrimary}

However I'm not confident what to change in the above.

Also, would I have to create a shared folder for each 78 PSTs or am I not understanding this correctly.
David Johnson, CD, MVPOwnerCommented:
is this for 78 different users/mailboxes?
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

WORKS2011Managed IT, Cyber Security, BackupAuthor Commented:
HI David, yes.
DeepinInfrastructure Engineer Commented:
Should have migrated Exchange to 2010 then to exchange 2013.

If you prefer the GUI way

https://lumandrew.wordpress.com/2013/09/10/importing-pst-to-user-mailbox-via-eac/
WORKS2011Managed IT, Cyber Security, BackupAuthor Commented:
this is not what I asked. Thanks though.

It was not an option.
Chris CastoroClient ServicesCommented:
Hey Works2011, the command in option 3 assumes the pst files have been named based on alias.
The only thing you would have to change here would be the shared folder path.

Dir \\SERVERNAME\PSTshareRO\Recovered\*.pst | %{ New-MailboxImportRequest -Name RecoveredPST -BatchName Recovered -Mailbox $_.BaseName -FilePath $_.FullName -TargetRootFolder SubFolderInPrimary}

i'd test one pst before i'd run it on all 78 (smallest available), make sure the peramiters work how you want.  i beleive the users will also need to exist on the target exchange server, alias matching pst file name.

let me know if that helps.

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
Methew AndrewCommented:
Hi,
Import your PST files into MS Outlook and after that connect Exchange server with your Outlook account to move these files into Exchange server.
WORKS2011Managed IT, Cyber Security, BackupAuthor Commented:
ended up using both, thank you.
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.