Powershell to import all mailboxes from .pst to exchange database using New-MailboxImportRequest

EXCHANGE How To MS Powershell
Powershell to import all mailboxes from .pst to exchange database using  New-MailboxImportRequest

You can import all pst files in to exchange user mailbox user06 by using below command:

Dir \storage01export*.pst | %{ New-MailboxImportRequest -Name user06 -BatchName Recovered -Mailbox $_.BaseName -FilePath $_.FullName -TargetRootFolder SubFolderInPrimary}

Note – please change input values (marked in yellow) as per your requirements. 


(Visited 1 times, 1 visits today)