Management

Subscribe to Blog via Email

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

Join 772 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

Exchange 2013 : How to bulk import pst files

When you want to import pst files, you need to create a csv file, containing the user e-mail address and the file location of the pstfile, and of course the correct name of the pst file :

Csv file:

user,userpath

administrator@domain.nl,\\xch1\ImportPST\administrator.pst

test@ domain.nl,\\xch1\ImportPST\test.pst

 

To start the import je need to save the script to Bulk import pst files

Script:

$BulkImport = Import-Csv C:\Scripts\bulk-import-pst.csv

ForEach ($Entry in $BulkImport) {

Write-host “Executing users : “$Entry.user

Write-host “using userpath : “$Entry.userpath

New-MailboxImportRequest -Mailbox $Entry.user -filepath $Entry.userpath -baditemlimit 200 -acceptlargedataloss

}