Exchange – The term ‘New-MailboxExportRequest’ is not recognized (Solved)


The term ‘New-MailboxExportRequest’ is not recognized

In this article, We will discuss this issue that why New-MailboxExportRequest command doesn’t work in Exchange Management Powershell while User has full access on File Path and part of Mailbox Import Export ManagementRoleAssignmement. Let’s see how Exchange Mailbox export works and how we can solve “The term ‘New-MailboxExportRequest’ is not recognized” error.

How to Export a Mailbox in Exchange 2010 Using Exchange Management Shell

1- Open Exchange Management Console

2- Run the following command to provide proper rights to import or export a mailbox

NewManagementRoleAssignmentRole “Mailbox Import Export”User Administrator

3- Create a shared folder  and assign full rights to “Exchange Trusted Subsystem” group

4- Now if you will run the following command to export a mailbox, you will definitely get the error  “The term ‘New-MailboxExportRequest’ is not recognized”

New-MailboxExportRequest -Mailbox “TestMailBox” -FilePath “\\Testex01\c$\get\TestExport01.pst”

The term ‘New-MailboxExportRequest’ is not recognized as the name of a cmdlet, function, script file, or operable program.

5- Close Exchange Management Shell and Open again so the user will have proper rights which we assigned in step 2. Run the above command again  (Solution)

New-MailboxExportRequest -Mailbox “TestMailBox” -FilePath “\\Testex01\c$\get\TestExport01.pst”

6- You will see success and mailbox export started and in Queue. You can see the status with Get-MailboxExportRequest

Note: To export an archive mailbox in exchange 2010, You can use “-IsArchive” to export archive mailbox. Below is full command -IsArchive

New-MailboxExportRequest -Mailbox “TestMailBox” -IsArchive -FilePath “\\Testex01\c$\get\TestExport01.pst”

However, this will only export archive mailbox not the actual mailbox, so logically you have to run both commands seprately.


Leave A Reply

Your email address will not be published.