unable to export PST

Frequent Contributor

Hi Experts, i am getting below error exporting PST file for one of office365 user.

Sharedfolder has been given full control to everyone on share and security permissions


New-MailboxExportRequest -Mailbox "myuser@mydomain.com" -batchname Test -ContentFilter {(Received -gt '12/01/2018') -and (Received -lt '12/10/2018')} -FilePath "\\myserver01\sharedfolder\myuser.pst"


New-MailboxExportRequest : The term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1 + New-MailboxExportRequest -Mailbox "myuser@mydomain.com" -batch ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (New-MailboxExportRequest:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

2 Replies
If you are trying to export a PST using PS in EXO, I think you currently cannot do it. The New-MailboxExportRequest is a cmdlet for Exchange OnPrem if I'm not mistaken

Hello, @Rising Flight 

I read your problem and found that it is difficult to resolve issues manually which you are facing to export PST. Hence, as a software expert, recommend you to use any good professional tool to migrate your PST files. There are several third-party tools available in the market that can export your PST files very easily. PST Email Migration is one such tool that can migrate all your PST emails with their attachments. This tool offers free migration of email files up to 50 emails. You can use this tool as per your needs.