Tuesday, September 13, 2011

The Term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet, function, script file, or operable program


If you are trying to run the new MailboxExportRequest and getting above error here is what will help you to resolve the issue.

  • You can't use the Exchange Management Console (EMC) to create a mailbox export request. You must use the Shell. ( too bad I wish this was an option from GUI as well)
  • You have to install SP1 or newer on your Exchange 2010 Server
  • Create Shared folder with fallowing permissions “grant Exchange Trusted Subsystem read/write permission”
  • This is Simple File Sharing permissions ( NOT NTFS) see the picture
  • image
  • You have to run New-ManagementRoleAssignment first , otherwise you will get the error above
  • Once you run the commons close tour PS and re-open it


Assign Role

******user name "BakinJM" change this to your own****

New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “BakinJM”

Export Run

New-MailboxExportRequest -Mailbox BakinJM -FilePath "\\PC1\pst$\BakinJM.pst

Monitor Process

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Clear the previous Request

Get-MailboxExportRequest | Remove-MailboxExportRequest

Import PST

New-MailboxImportRequest -Mailbox BakinJM -FilePath \\PC1\pst$\BakinJM.pst

The most comprehensive and easy to fallow  post in this regard IMO…..

Henrik Walther

  • A look at the Import/Export Mailbox improvements in Exchange 2010 Service Pack 1 (Part 2

Steve Goodman

  • Create a Mailbox Export Request


  • Set Permissions for Shared Folders


Oz Casey, Dedeal ( MVP north America)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)


Anonymous said...

Thanks, This worked!


Salar said...

Thank you very much.really good.i tried some other manuals but yours worked