Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 700
  • Last Modified:

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!
0
MacGyver80
Asked:
MacGyver80
  • 4
  • 2
1 Solution
 
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
 
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 TiwariCommented:
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now