I'm trying to export a bunch of mailboxes to PST files and a few of the requests terminated early in a failure.
A few 5GB+ mailboxes succeeded and a few really small ones failed, I can't see anything common among them...
Performing get-mailboxexportrequest
just shows name/mailbox/status and status only shows Queued
/Completed
/Failed
I have tried various switches and commands but I can't seem to find any more detail than the above.
I was wondering if anyone knows of a command so I can see the failure message in detail?
You can start by exporting a detail report to a text for more detail Get-MailboxExportRequest -status failed | Get-MailboxExportRequestStatistics -IncludeReport | Format-List > c:\report.txt
I hope your report will shed light on details of the failure
I've just ran into a continual problem where some mailboxes were failing and a couple of online resources have suggested that an anti-virus may be at fault so, as a temporary measure, try adding your shared location to the anti-virus exclusion list so that it ignores the files in the location and won't scan/change ownership of them mid-export.