## Put the location of your CSV file
## Loop all users in the CSV
Foreach ($user in $mail)
{
$Alias = $user.MailboxAlias
$pst = $user.pst
## in the File path spicify the location to export the mailbox, it will be easy i f you choose a location where your account has full control right to share drive
New-MailboxExportRequest -Mailbox $Alias -FilePath \\HUBCAS-01\em\$pst
}