Showing posts with label Exporting Mails. Show all posts
Showing posts with label Exporting Mails. Show all posts

16 July, 2009

Exporting Exchange 2007 Mailbox Data into PST

Exporting Exchange 2007 Mailbox Data into PST

Exchange 2007 SP1 introduces the following functionality for exporting mailbox data:

· You can export mailbox data from a mailbox to a .pst file. To export to a .pst file, you must use the PSTFolderPath parameter to specify the path to the .pst file to which data will be exported.
You can use the Export-Mailbox cmdlet to export data to either a folder or a .pst file. The source and target mailboxes must exist on a server that is running one of the following versions of Microsoft Exchange:

· Exchange Server 2007

· Exchange Server 2003 SP2 or a later version

· Exchange 2000 Server SP3 or a later version

You cannot export data to a .pst file from a mailbox that is in a recovery storage group (RSG).

Before you perform this procedure, be aware of the following:

  • To grant full access to a mailbox, use the Add-MailboxPermission cmdlet and specify FullAccess for the AccessRights parameter.

For example, if Admin01 needs to export data from John's mailbox, you must first run the following command:

Add-MailboxPermission -Identity john -User Admin01 -AccessRights FullAccess

  • To export data to a .pst file called john.pst located at C:\PSTFiles, run the following command:

Export-Mailbox -Identity john@contoso.com -PSTFolderPath C:\PSTFiles\john.pst

  • To export data from a group of mailboxes, such as all mailboxes for which the user title begins with "VP," run the following command:

Get-User where { $_.Title -ilike "VP*" } Export-Mailbox -TargetFolder VPData -TargetMailbox ExportMailbox

  • To export data from all the mailboxes of users in the Marketing organizational unit, run the following command:

Get-Mailbox -OrganizationalUnit Marketing Export-Mailbox -PSTFolderPath C:\PSTFiles

This example exports the data from each mailbox to a separate .pst file located at C:\PSTFiles. The name of each .pst file will be <alias>.pst.

Please let me know if this post was helpful.