Exchange 2010 SP3 - Import PST to respective Mailboxes

I have exported Mailbox to PSTs with respect to the Username, i.e. John Smith - JSmith.pst.  No we have a new Exchange server 2010 with SP3 installed.  

My questions are:

1. What would be the appropriate command to import the PST in to the user's mailbox

and

2.  Is there a Exchange Management Shell Script that I can use to take all the PSTs and import them in to the respective mailbox?

My Boss has me under a TIGHT deadline so any assistance would be greatly appreciated.

Thanks!
LVL 5
MacGyver80Senior Systems AdministratorAsked:
Who is Participating?
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.

Neil RussellTechnical Development LeadCommented:
Great article explaining all the steps to do this can be found on Simple-Talk.com.  
In essence you make sure all your .pst files are named using the mail account name of the user, i.e Paul.Daniels.pst for Paul daniels (Or whatever naming scheme you use pdaniels.pst etc)
Then off you go, powershell will import them all for you :D

Dir \\2010ad02\PST-Files\*.pst | %{
    New-MailboxImportRequest –Name ImportOfPst –BatchName ImportPstFiles –Mailbox $_.BaseName –FilePath $_.FullName
}

Open in new window


Heres the full article
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
MacGyver80Senior Systems AdministratorAuthor Commented:
Awesome! Thank you for that info.

Now what about if i wanted to do it individually?
0
Neil RussellTechnical Development LeadCommented:
New-MailboxImportRequest –Name FredBassetsMailImport –Mailbox Fred.Basset –FilePath \\server\share\fred.basset.pst
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

MacGyver80Senior Systems AdministratorAuthor Commented:
For some reason, with SP3, I have to initita tte the request first:

New-MailboxImportReequest

Prompts for PST location

Then asks for alias

Afterwards, it queues the export.

Thanks for the lead Neilsr
0
Satyendra TiwariManagerCommented:
Sounds good that you have resolved your purpose.
However, you may bookmark this another good resource for your future reference when need to import PST to users primary exchange mailbox : http://technet.microsoft.com/en-us/library/ff459261%28v=exchg.141%29.aspx
0
MacGyver80Senior Systems AdministratorAuthor Commented:
Neilsir, is there any way to tell if the imports are running?  I ran, Get-MailboxImportRequest | Get-MailboxImportRequestStatistics and it shows nothing in queue.  I right-click and run with Powershell, a window popped up and then closed.  I ran it directly from Powershell and it just went back to the Powershell prompt.
0
MacGyver80Senior Systems AdministratorAuthor Commented:
...and is there anyway to run it with the -badlimit 100 -AcceptLargeDataLoss -AssociatedMessageCopyOption copy
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.