Bulk Import & Exchange 2007 SP 1
Is there a quick and easy way to import approx. 50 PST's into a new Exchange 2007 SP1 installation? (This domain isn't part of the previous domain structure. It is an entire new domain/AD structure.) Basically, I would like it if when I did the import of the PST's the user accounts were also created. Any thoughts or ideas? Thanks, Robert
June 16th, 2008 2:44am

Hi Robert, You can use Import-Mailbox command to import mails from PST to mailbox, which requires below permissions. Exchange Server Administrators Role. Member of Local Administrators group for thethe target server. Full access to the target Mailbox. You need to run it from machine which meets below requirements. 32 bit client machine with Exchange 2007 SP1 Management Tools installed. Either Outlook 2003 or Outlook 2007 installed. Then you can run below one command which export all PSTs to respective mailboxes. Get-Mailbox | Import-Mailbox PSTFolderPath C:\PSTFiles Reference: How to Import Mailbox Data How to Export and Import mailboxes to PST files in Exchange 2007 SP1
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2008 3:39am

I was hoping to avoid the use of a machine running Exchange 2007 sp1 *and* Outlook and just use the Import-Mailbox utility - pointing the utlity to the location of the PST files - and have it import and create the user accounts and mailbox at the same time. If I do the import with Outlook, I'm assuming I'd be creating the mailboxes one by one and would be stuck doing things manually. (Much like creating first the user account/mailbox and THEN importing the pst's into the various mailboxes.) On a separate note, I tried creating a new mailbox/user account (manually) on the Exchange box and it gave me an error stating that there was no Exchange 2007 running an Address List Service. Any clues on that? Thanks again.
June 16th, 2008 4:49am

Hi Robert, 32bit machine and outlookare minimum requirements of Import-Mailbox to run. While creating users it is not possible to import mailbox since it requires full mailbox access on newly crated users also. You may need to create a PowerShell script if you want to atomize whole process like create a user, assign full mailbox permission and import pst at a time. About your side note, please verify exchange System Attendance and all other services are running and second, permissions are correct on Address list (you may refer Resolution for Cause 2 in http://support.microsoft.com/kb/935636)
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2008 8:57am

Here is a powershell script in the making. It works, but I am still working on some error notification. Right now this script runs and if it errors it moves to the next pst. This script works off a csv. Code Snippet $import = import-csv "C:\clients\GPC\pmdf.csv" $import | % { $filepath = $_.file +"\"+$_.samaccountname+".pst" $pstfilepath = Test-Path $filepath If (($pstfilepath) -eq $True) { import-mailbox -identity $_.samaccountname -pstfolderpath \\XXX.XXX.XXX.XXX\share\ -IncludeFolders '\Calendar','\Contacts','\Sent Items' -Confirm:$false > ImportPSTlog.txt } else {Write-output "file does not Exist for user " + $_.samaccountname | Out-File -FilePath "C:\testmigration\PSTdoesnotExist.txt" -Append -NoClobber } }
June 16th, 2008 4:55pm

Unfortunately, Outlook 2003/2007 is required for the import-mailbox utility to read the PST files. It needs the MAPI libraries from Outlook since they are no longer provided on Exchange Server. If you have a workstation on which you can run the Exchange 2003 EXMERGE utility, you can use that also, though.
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2008 12:06am

Ok, question then.... 1. Assume then that I just create each person's account on the new domain/server and new (empty) mailbox. 2. I'm assuming that you cannot install the Exchange 2007 tools onto a Windows XP machine. (The machine is running Outlook 2007). If I just wanted to do this "manually" is there an easy way to do this? -Robert
June 21st, 2008 8:46pm

I'm using Exchange 2007 SP1 64-Bit, hence the issue with installing it on a Windows XP (32-Bit) machine. I'm currently downloading the 32-Bit version of the management tools. -Robert
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2008 8:48pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics