Exporting all mailboxes whose associated user accounts are stored in a specific OU to a PST file

$Export = Get-User -OrganizationalUnit “yourdomain.com/OU/SubOU” -Filter “RecipientType -eq ‘UserMailbox’” | Get-Mailbox ; $Export|%{$_|New-MailboxExportRequest -FilePath \\fileshare\share\$($_.alias).pst} This script will locate all users with mailboxes located in the OU you specify in the “yourdomain.com/OU/SubOU” section. It will then export them to the … Continue reading Exporting all mailboxes whose associated user accounts are stored in a specific OU to a PST file