Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 778 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

Bulk export to pst files

Here you will find the powershell scripts, which were very useful for me.

All scripts are free of charge, use them at your own risk :


Today I had to export multiple mailboxes to pst files, for backup.

I’ve done this with powershell :

Use the script at your one risk !

First create a Bulk-export-pst.csv file.
This file contains the following :
users,location
email-user1,\\server\sharefolder\user1.pst
email-user2,\\server\sharefolder\user2.pst
email-user3,\\server\sharefolder\user3.pst

Second create the following Bulk-export-pst.ps1:

$Userstolocation = import-csv c:\Scripts\Bulk-export-pst.csv
foreach ($Record in $Userstolocation)
{
$users = $record.users
$location = $record.location
echo $users
echo $location
New-MailboxExportRequest –Mailbox $users -FilePath “$location”
}

Starting the Bulk-export-pst.ps1 file, starts the export process.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.