exchange 2007 export mailboxes

I am running exchange 2007 on server 2008 64 bit and I am trying to export the complete mailbox to a pst file
I keep getting the error that the command needs to be run on a 32 bit computer and that outlook needs to be installed

Here are the details:
Location of the mailboxes:

D:\Exchange\First Storage Group\Mailbox Database.edb
D:\Exchange\First Storage Group\Public Folder Database.edb

Commands I am using:

Get-Mailbox -Mailbox Database.edb | Export-Mailbox -PSTFolderPath g:\data\companymailbox

Get-Mailbox Public Folder Database.edb | Export-Mailbox -PSTFolderPath g:\data\publicmailbox

Get-Mailbox -"D:\Exchange\First Storage Group\Mailbox Database.edb" | Export-Mailbox -PSTFolderPath g:\data\companymailbox

Get-Mailbox "D:\Exchange\Second Storage Group\Public Folder Database.edb" | Export-Mailbox -PSTFolderPath g:\data\publicmailbox

I get the following error:
You are running on a 64-bit computer. To export to or import from a .pst file,
you must be running a 32-bit computer that has Outlook 2003 SP2 or later instal
At line:1 char:1
+ E <<<< xport-Mailbox "d:\Exchange\First Storage Group\Mailbox Database.edb" -
PSTFolderPath g:\data\companymailbox
[PS] C:\Windows\System32>

Help please
Who is Participating?
Stelian StanConnect With a Mentor Network AdministratorCommented:
You are getting those messages because you try to run the command from Exchange server. To be able to export mailboxes to a PST file you need to install Exchange Management Tools on a 32 bit machine (Windows Xp, 7 or 8) then run the command. Also on that machine you need to have Outlook installed and you must be an Exchange Organization Admin or an Exchange Server Admin on the server where the mailbox to export/import lives

Have a look on this article: or
dsnegi_25decConnect With a Mentor Commented:
Hello ,

Export command will work for following version Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1  . Please follow below article full detail on that.

Exchange Server Administrator role and local Administrators group for the target server
 Full access to the source and target mailboxes

You cannot export data to a .pst file from a mailbox that is in a recovery storage group (RSG).
You cannot export data from a public folder database.
doctorbillAuthor Commented:
Can you tell me where to get exchange tools as a download please
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

doctorbillAuthor Commented:
Thanks to all
doctorbillAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.