Import-Mailbox is not recognized
I am currently in the process of migrating from a POP3 e-mail system to a new Exchange 2010 environment and as such need the ability to import all users pst's from outlook into my new Exchange server. My Exchange system includes: 2 Exchange servers on Windows Server 2008 R2 Enterprise both have client access / hub transport / and Mailbox roles DAGs are enabled I started out trying to get the Import-Mailbox to run from a Windows 7 Professional workstation but have also tried the following on both of my Exchange servers I have used the below from a post that I found on this site Keep away from admin accounts. - Create a normal domain user account - Grant the full mailbox access to new domain user account. - Assign the Mailbox Import Export RBAC role to new user with below cmdlet... New-ManagementRoleAssignment -Role 'Mailbox Import Export' -User 'userName' - Add user into local admin group of Exchange server. - And run Import /Export-Mailbox on the workstation where Outlook 2010 x64 installed with Exchange 2010 Management Tools. When I run Get-ManagementRoleAssignment I get a long list of which the end shows Mailbox Import Export-Admin...Mailbox Import Export Administrator User Direct Administrator Mailbox Import Export-EXCH...Mailbox Import Export EXCH ImportExport User Direct EXCH ImportExport I first tried setting the Administrator and then found the piece in the post above about not using Administrator account and created a regular user EXCHImportExport. Strange how the Get-managementRole assignment above lists the "EXCHImportExport" user with a space in it. When I run Import-Mailbox –Identity jdoe@xxxxx.com – PSTFolderPath Z:\PST\jdoe\jdoe.pst I get The term 'Import-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is cor rect and try again. At line:1 char:15 + Import-Mailbox <<<< -Identity jdoe - PSTFolderPath Z:\PST\jdoe\jdoe.pst + CategoryInfo : ObjectNotFound: (Import-Mailbox:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException I have currently tried this on both Exchange servers and a windows 7 Professional workstation. I am on Exchange 2010 SP1 Rollup 2 on all 3 I have rebooted all machines after the settings from the above instructions were applied I am missing something. It more than likely is something simple.
March 17th, 2011 12:37pm

All commands for 2010 SP1 have changed and unfortunately they didn't include a redirect to tell you the new commands IMPORT http://technet.microsoft.com/en-us/library/ff607310.aspx EXPORT http://technet.microsoft.com/en-us/library/ff607299.aspx Example article http://www.simple-talk.com/sysadmin/exchange/importing-psts-with-powershell-in-exchange-2010-sp1/ On another note if you want to check out a cool GUI based tool that can give you the above capabilities and more, i.e. ability to work directly with offline EDB's etc check out Lucid8's DigiScope http://www.lucid8.com/product/digiscope.asp Troy Werelius www.Lucid8.com
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2011 12:41pm

Hi, Have a look into this article its say the error is coming due to role assignment : There is a bug in Exchange 2010 which requires the modification of the Exchange database object security settings in ADSI edit if you are attempting to perform a single server stand-alone installation. I.E. the single server will hold all the Exchange roles (Hub, Cas, MBX). This is in addition to a few other basic items. 1. The System account needs to have the following permissions: - Read - Administer Information Store - Allow Impersonation to Personal Exchange - Create Named Properties in Information Store - Open Mail Send Queue - Receive As - Send As - View Information Store Status 2. Need to execute < New-ManagementRoleAssignment -Role "Mailbox Import Export" -user username > from the Exchange Pshell. 3. Outlook 2010 x64 needs to be installed locally on the server performing the Import/Exports. http://www.exchangeinbox.com/article.aspx?i=154 http://mscerts.net/application_server/exchange%20server%202010%20%20%20manage%20permissions%20(part%202)%20-%20delegate%20role-based%20permissions.aspx Do let us know in case more info or required or this doesn't help.Ripu Daman Mina | MCSE 2003 & MCSA Messaging | MCC
March 17th, 2011 12:41pm

Ok, so after trying the new cmdlet for import I get Couldn't connect to the target mailbox. + CategoryInfo : NotSpecified: (0:Int32) [New-MailboxImportRequest], RemoteTransientException + FullyQualifiedErrorId : 1B0DDEBA,Microsoft.Exchange.Management.RecipientTasks.NewMailboxImportRequest I have since added the Exchange trusted subsystem group to the Files server folder where the PST's are stored and tried again with the same error. Also checked the manage full access permission for the target mailbox to make sure that I was logged in as a user with rights to the mailbox. Is there any other security settings to check. I am currently rebooting the servers
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2011 1:25pm

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

Other recent topics Other recent topics