locked
Bulk Export and Import of PST from exchange Server RRS feed

  • Question

  • Dear Team,

    kindly share how we can bulk export and import PST  from exchange server , Share as like example powershell command

    Regards

    Aghil

    Sunday, July 7, 2019 10:01 AM

Answers

  • Hi AGHILLA,

    1. To Import the PST format in bulk you can use as of below instruction.        

    First of all you need to create a excel sheet on CSV format as of below snapshot and save as Users.CSV

    once you create a csv file on the above format. Run the below cmdlet on Exchange Powershell

    Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn$imported = Import-Csv -Path D:\users.csv #Path of CSV File
    
    $imported | ForEach-Object {
    New-MailboxImportRequest -FilePath $_.Path -Mailbox $_.mailbox
    
    Write-host $_.mailbox has been imported
    }
     

    where $_.path is the location of the pst file store and $_.Malibox is the user.

    2. To Export the PST format in bulk you can use as of below instruction

    Create a corelated excel sheet as of above snapshot for the required mailboxes to export and the location of specific mailbox. Once this is done, run this cmdlet in EMS

    Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
    
    $imported = Import-Csv -Path D:\users.csv #Path of CSV
    File
     
    
    $imported | ForEach-Object {
    
    New-MailboxExportRequest -FilePath $_.Path -Mailbox $_.mailbox
     
    
    Write-host $_.mailbox has been Exported
    
    }

    Hope this will help you... if any further query please let us know.



    Cheers,
    Aerrow
    Blog: pdhewaju.com.np
    Please remember to mark the replies as answers.





    Sunday, July 7, 2019 10:45 AM