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

Example

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

http://technet.microsoft.com/en-us/library/ff459227.aspx

  • Set Permissions for Shared Folders

http://technet.microsoft.com/en-us/library/cc726004.aspx

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

4 comments:

Anonymous said...

Thanks, This worked!

sapersaper

Salar said...

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

Unknown said...
This comment has been removed by the author.
Anonymous said...

had been searching everywhere to get this solved, and couldn’t find anything. This ended up being the fix. Thank you! Finally, I got the solution here:- https://www.datarepairtools.com/blog/new-mailboxexportrequest-is-not-recognized-in-exchange-server/

I hope, it should be beneficial for you!