Export-Mailbox Exchange 2010

GhislainBruyere
GhislainBruyere used Ask the Experts™
on
Hello,

I've an Exchange 2010 in production. It works perfectly.

I would like to use the function export-mailbox from another server. This second server is a 64 bits with Exchange Management Tools and Office 2010 64 Bits.

But I've the message : To export to or import from a .pst file, the 64-bit version of Outlook 2010 or later must be installed on the server to which you are connecting

Is it really mandatory to install Outlook 2010 on the Exchange production server to use the export-exchange function ?

Regards

Ghislain
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
jfletchsterIT Manager

Commented:
Outlook is required however u dont have to install it on the production server. If u install the exchange 2010 Managment tools on a compatable client machine, with outlook 2010 u can run the import/export from there.
You login on to the client machine with an account with correct permissions to administer exchange domain.

Author

Commented:
As I said, it's what I've done : I've another machine where Exchange 2010 Management Tools and Outlook 2010 is installed. This machine is on the domain and I'm logged with an Administrator account.

Unfortunately, I've this error message : To export to or import from a .pst file, the 64-bit version of Outlook 2010 or later must be installed on the server to which you are connecting

Ghislain
jfletchsterIT Manager

Commented:
Check that the user you are loged on the the client with has the rights to export mailboxes. Use this command in exchange powershell to assign Import/Export rights to the user.
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “<username>”
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

jfletchsterIT Manager

Commented:
If you have the correct version of Outlook installed, the MMC Exchange snap-in on the client will display extra options on the drop down menu (When right clicking on a User Mailbox) You will get Options to Import/Export Mailbox

Author

Commented:
I already have run the New-ManagementRoleAssignment command with the current user.
Yes, I've the option Export Mailbox when I right click on a User Mailbox
jfletchsterIT Manager

Commented:
Did some digging;
See post from Technet. It apears that you are limited to having a minimum of one server role installed on the connecting device.

http://social.technet.microsoft.com/Forums/en/exchange2010/thread/1108b858-48c8-4930-82a7-3f2604866c1d

So you will either have to install outlook on the production server, or add a temp server to the exchange infastucture with a role installed i.e. Mailbox role. Then add outlook and do it that way. My mistake in the inital post.

Author

Commented:
If I good understand this post, I need to install all Exchange 2010 features and not only the Management Tools on the second server. Correct ?
jfletchsterIT Manager

Commented:
Quote "To export data from a .pst file, you must run the Export-Mailbox  cmdlet against an Exchange server that has the 64-bit version of Microsoft Outlook 2010 installed. We recommend that you run the command on a dedicated Exchange server that doesn't have any mailboxes."

So you will need atleast one of the roles installed to connect to the exchange domain. But any role will install the core parts of exchange and link in to the exchange org. But to avoid possible disruption to exisiting service i would try just a Mailbox Store role, as it has minimal impact on your exsisting setup. As it doenst effect mail delivery or Client Access.

Author

Commented:
I don't follow you.
Could you please describe me the different step to arrive to the correct solution ?
IT Manager
Commented:
Install a temp server
Add to domain
Prep for Exchange 2010 install
Do a custom install of exchange and only tick 'Mailbox Server Role'
Install Outlook 2010
Run Import/Export

This will install core exchange components have minimum impact on the existing exchange setup, and wont effect client access or mail routing. You then have the option to remove the temp server when your done.

Author

Commented:
After installed the Mailbox Server Role, I have this error message :

[mail.bce.com] Connecting to remote server failed with the following error message : WinRM cannot process
the request. The following error occured while using Kerberos authentication: A specified logon session does not exist.
 It may already have been terminated.
 Possible causes are:
  -The user name or password specified are invalid.
  -Kerberos is used when no authentication method and no user name are specified.
  -Kerberos accepts domain user names, but not local user names.
  -The Service Principal Name (SPN) for the remote computer name and port does not exist.
  -The client and remote computers are in different domains and there is no trust between the two domains.
 After checking for the above issues, try the following:
  -Check the Event Viewer for events related to authentication.
  -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or us
e HTTPS transport.
 Note that computers in the TrustedHosts list might not be authenticated.
   -For more information about WinRM configuration, run the following command: winrm help config. For more information,
 see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial