It`s simple when you know how ! Windows How To Export multi PST From Exchange 2007 with a Powershell Script

How To Export multi PST From Exchange 2007 with a Powershell Script

For export outlook PST from exchange 2007, First you need to install The exchange 2007 management tool on workstation and not on the server because you need to connect through MAPI account and from the server itself that not allowed.

create CSV file in this format :

identity
user1@email.com
user2@email.com

Open Exchange powershell . Then you need to give the administrator full access permission to the mailbox in transit:

Import-CSV “Path To The File\Users.csv” | foreach {Add-mailboxpermission –Identity $_.identity -accessrights fullaccess -user "Administrator"}

Once the administrator or any other user you selected have full permission on the mailbox you can start the export process, in this example “Administrator” user:

Import-CSV “Path To The File\Users.csv” | foreach {Export-Mailbox –Identity $_.identity -PSTFolderPath "Folder Of Your Choice" -confirm:$false}

The PST files will be exported to the folder one by one according to the user order in the CSV  file .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post