Export-Mailbox crashed power shell on Windows 7 workstation
I have an exchange 2007 server that has been up and running for 2 years now. For the last year or show I have been managing that server from my XP workstation with no problems including a short script to export a mailbox to a PST. I recently clean installed Windows 7 (32 bit) on that same workstation. I also reinstalled Office 2007. I am able to do anything I want with the EMC and almost anything with the EMS. When I try running my little script to export to a PST, it runs fine until the export-mailbox function is called.
Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'Brad Moon' into .pst file
'c:\PSTs\bmoon.pst'. This operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):
When I enter yes I get a Windows PowerShell popup error;
Windows PowerShell has stopped working
A problem caused the program to staop working correctly.Windows will close the program and notify you if a solution is available.
I get this same problem if I enter the export-mailbox directly, without a script. I have a laptop running XP to get by with for now, but it is verry inconvenient .
January 13th, 2010 1:43am
Are you running Exchange 2007 SP2 on the server, and are the management tools installed on the workstation SP2? There were some updates in SP2 to make the management tools compatible with Powershell V2.
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2010 1:55am
On Tue, 12-Jan-10 22:43:44 GMT, Old Moon wrote:>>>I have an exchange 2007 server that has been up and running for 2 years now. For the last year or show I have been managing that server from my XP workstation with no problems including a short script to export a mailbox to a PST. I recently clean installed Windows 7 (32 bit) on that same workstation. I also reinstalled Office 2007. I am able to do anything I want with the EMC and almost anything with the EMS. When I try running my little script to export to a PST, it runs fine until the export-mailbox function is called. BTDT!You're probably missing the "Exchange Migration" registry key. Seethis URL for the location:http://social.technet.microsoft.com/forums/en-US/exchangesvradmin/thread/7cc8ff98-4c97-4c72-bc38-028548a2666d/---Rich MatheisenMCSE+I, Exchange MVP
---
Rich Matheisen
MCSE+I, Exchange MVP
January 13th, 2010 6:15am