We help IT Professionals succeed at work.

Cannot export to pst file using Exchange 2007 (64bit) Service Pack 1

huntersp3
huntersp3 asked
on
Hello Experts:

I am in need of being able to export emails from closed mail accounts to a pst file.  I am running an Exchange 2007 Service Pack 1 server (64bit).  Per instructions from MSexchange.org--I have installed the Exchange 2007 Management Tools onto a Windows 2003 Server (32bit) machine in effort to use the Export-mailbox command to move the mail to a pst file.  However, when I run the command, I get the following.
[PS] C:\Documents and Settings\Administrator>Export-Mailbox -Identity Steveh -P
TFolderPath: d:\PSTfiles\steveh.pst
Export-Mailbox : A parameter cannot be found that matches parameter name 'PSTFo
lderPath'.
At line:1 char:48
+ Export-Mailbox -Identity Steveh -PSTFolderPath:  <<<< d:\PSTfiles\steveh.pst
The server that I am using is a Windows 2003 Server (Stand alone) that is part of the same domain as the Exchange Server and I am logged on as domain Administrator.  Does anyone have any ideas of what I am doing wrong?  
Comment
Watch Question

CERTIFIED EXPERT

Commented:
You added a ":" to the string. That shouldnt be there.

Also, is the PSTFiles on your server or on the workstation?
CERTIFIED EXPERT

Commented:
For clarification it should be the following - assuming the PSTFiles folder is a vaild path.
Export-Mailbox -Identity Steveh -PSTFolderPath d:\PSTfiles\steveh.pst

Author

Commented:
Hello Brent:

The PSTFiles is both on the Exchange Server and the 32bit server.  I will try this again.

Author

Commented:
Hello Brent:

I pasted your suggestion into the Exchange Shell and here is the result.  

[PS] C:\Documents and Settings\Administrator>Export-Mailbox -Identity Steveh -PS
TFolderPath d:\PSTfiles\steveh.pst
Export-Mailbox : A parameter cannot be found that matches parameter name 'PSTFo
lderPath'.
At line:1 char:47
+ Export-Mailbox -Identity Steveh -PSTFolderPath  <<<< d:\PSTfiles\steveh.pst

Author

Commented:
Hello Brent:

I wonder what could be wrong with char 47?
CERTIFIED EXPERT

Commented:
Try this:

Export-Mailbox -Identity Steveh -PSTFolderPath "d:\PSTfiles\steveh.pst"

You might need the path in quotes.

Author

Commented:
I believe--I might have the solution---but I won't know until the download is complete.  I downloaded and installed the Exchange 2007 managment tools--however I believe I should have downloaded the Exchange Server Service Pack 1 for 32bit system and installed the system management tools from it.  I bet the exchange management tools doesn't have the PSTFolderPath command in it.
CERTIFIED EXPERT
Commented:
http://www.msexchange.org/articles_tutorials/videos/exchange-server-2007/management-administration/exporting-mailbox-data-to-a-pst-file-in-exchange-2007-sp1.html

I missed it... I dont think that you need to specify the pst file itself:

Export-Mailbox -Identity Steveh -PSTFolderPath: d:\PSTfiles
CERTIFIED EXPERT

Commented:
Just checking to see if you were able to get the files exported.

Author

Commented:
Hello Brent:

Just as I thought.  I had to download the 32bit version of Exchange 2007 Service Pack 1 and install it on the 32 bit Windows 2003 Standard Server--then the export command utility worked.  I will award the points to you for the right answer---along with my asisted solution.

Thanks
I am having the same problem. On a Windows XP machine, I installed the Microsoft Managment tools for Exchange 32 bit, and the powershell and all that. Even the simplest commands are giving me errors. Powershell is a pain, it is not consistant.

Commented:
Just run outlook, setup exchange account and make File - Import/Export
You can export mailbox to pst from outlook.