Have you ever installed an Exchange server and wanted to verify your Internet facing services were setup and configured properly? Things like Exchange ActiveSync, AutoDiscover, Outlook Anywhere (RPC/HTTP), and inbound email:
Simpl in PowerShell:
Add role on server:
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “username”
New-MailboxExportRequest -Mailbox "mailboxormailuseridparameter" -FilePath "longpath"
(“longpath”: Write rights to ‘Exchange Trusted Subsystem’ group)