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
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed