In the RTM version of Exchange 2010 there was provision for importing (and exporting) PST files to Exchange 2010 mailboxes via the Import-Mailbox and Export-Mailbox commands.
However in order for these to work correctly you had to ensure that the server that you were using for the Import and Export tasks conformed to the following prerequisites:
· Outlook 2010 x64
· You had to assign a management role specific to the Import / Export task using the New-ManagementRoleAssignment cmdlet
· Exchange 2010 Management Tools installed on the server
It was also further recommended that you had a dedicated management server for the tasks of Import / Export – rather than working directly on a mailbox server.
However in Exchange 2010 with Service Pack 1, both the prerequisites and the commands have changed. For starters you do not need to install a copy of Outlook 2010 on the server as in Service Pack 1 the cmdlet(s) come packaged with their own MAPI provider.
You will still need to ensure that the account that you are using to Import / Export mailboxes to PST files has the correct role assignment – this is accomplished by using the following syntax:
New-ManagementRoleAssignment –Name “” –user “” –Role “Mailbox Import Export”
Or if you wish to assign this role to a universal security group:
New-ManagementRoleAssignment –Name “” –SecurityGroup “” –Role “Mailbox Import Export”
When you have configured the management role you can use the new cmdlet(s) which are as follows:
New-MailboxImportRequest –FilePath -Id
Please note that the –FilePath parameter must be a UNC path – not a local path.
The above command will queue the request for processing – if you wish to check on progress you can use the get-MailboxImportRequest command.