Need PST exports of 12 leaver mailboxes for retention. Ran New-MailboxExportRequest and PowerShell says the term is not recognized. Exchange 2013. What am I missing?
How to export an Exchange mailbox to PST?
Solved Email & Outlook
BA
Barry Allen April 25, 2019
2 replies
7,140 views
Reviewed by moderators
Not recognized means your account lacks the export role. Fix:
1
Grant it:
New-ManagementRoleAssignment -Role "Mailbox Import Export" -User youradmin then restart the Exchange Management Shell.2
Export to a UNC share:
New-MailboxExportRequest -Mailbox user -FilePath \\server\share\user.pst. Local paths fail, it must be a share the Exchange Trusted Subsystem can write to.3
Track progress with
Get-MailboxExportRequest | Get-MailboxExportRequestStatistics.For bulk jobs across many mailboxes SysTools Exchange Export does the same through a GUI with batch selection.
Role assignment plus shell restart was it. All 12 exporting to the share now. Solved.