Home  |  Services  |  About Us  |  Contact  | 

 

Brad's TechTips - Exchange Server & Outlook

[<< Full list of Exchange Server & Outlook tips.]
 
 
Exchange Server 2007: How to Import PST Files into Mailboxes
 
Exchange 2007 does not support ExMerge like Exchange 2003 and earlier versions did. To centrally import mailboxes, do the following:
  1. Download and install Windows PowerShell onto a 32-bit workstation.
     
  2. Download the 32-bit version of Exchange Server and install the management tools.
     
  3. Install and configure Outlook 2003 SP-2 or later.
     
  4. If the PST files are on a network share, then map a drive letter to the share and folder, such as P:\PSTFiles
     
  5. Grant Send-As and Receive-As rights to the user who is doing the importing.
    Run the following command from the Exchange Management Shell, replacing the "My" variables with the correct values.  The command should be on a single line of next, not wrapped as it likely appears below.

    Get-MailboxDatabase -identity "<MyServerName>\First Storage Group\Mailbox Database" | Add-ADPermission -user "<MyDomain>\<MyUserAccount>" -ExtendedRights Receive-As, Send-As
     
  6. To import a single mailbox, replace the value of UserAccountName as needed and run the following command:
     
    Import-Mailbox -Identity UserAccountName -PSTFolderPath P:\PSTFiles
     
  7. To import ALL the mailboxes in a folder:
     
    Get-Mailbox -Database '<MyServerName>\First Storage Group\Mailbox Database' | Import-Mailbox -PSTFolderPath P:\PSTFiles

 

 

CREDIT:
Pieces of syntax used in this tip came from The Microsoft Exchange Team blog.