[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 952
  • Last Modified:

Exchange Server 2007 Powershell to successfully export all user email to PST

Hi All,

Can anyone please assist me with the Exchange Server 2007 Powershell to successfully export all user email to PST, ideally one username one PST in a specific OU.

Is this possible to export all of the Archived emails as well ? (archived with Symantec Enterprise Vaults v8)

the end goal is to be able to import this into Exchange Server 2010
0
Senior IT System Engineer
Asked:
Senior IT System Engineer
5 Solutions
 
Stelian StanNetwork AdministratorCommented:
To export a mailbox to a PST file run:

Export-Mailbox -Identity TestUser -PSTFolderPath C:\temp

Open in new window


To be able to run this successful you need a 32 bit machine (Windows Xp, 7 or 8) runnning the Exchange Management Tools.
0
 
Thomas GrassiSystems AdministratorCommented:
I just went thru this

see my blog

http://www.experts-exchange.com/blogs/trgrassijr55/

http:/ /technet.m icrosoft.com/en-us/library /bb266964( d=pdnter, v=exchg. 80).aspx
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
SubsunCommented:
You can use following command to export all user mailboxes from a specific OU..
Get-Mailbox -OrganizationalUnit "test.com/Test/Users" | Export-Mailbox -PSTFolderPath C:\pst

Open in new window


As mentioned above, to export mailbox data to .pst file, you must run the Export-Mailbox cmdlet from a 32-bit computer. You need to install the 32-bit version of the Exchange management tools and Outlook 2003 SP2 or a later version on the computer.

Export-Mailbox will not export the archived emails from EV, you need to export it separately. If I am not wrong you need to do it from the EV console.
0
 
SubsunCommented:
Here is a reference for Exporting Enterprise Vault mails to PST
http://exchangeengine.wordpress.com/2012/03/01/exporting-enterprise-vault-mails-to-pst/
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Hi Subsun, when I do the export from the Enteprise Vault, it can only export the archived emails not all the new emails ?
0
 
SubsunCommented:
Enteprise Vault will have only archived emails..
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks for the reply to all, now I got this error

Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error: MAPI or an unspecified service provider. ID no: 00000000-0000-00000000
0
 
SubsunCommented:
While exporting from Exchange?? if yes is it happening for all mailboxes?
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
All good Man, it was due to the incorrect login that I'm using to execute the script.
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now