This was a frustrating error that, if I had slowed down for 2 minutes, would have been easy for me to figure out what was wrong.
The Term New-ExchangeCertifcate Is Not Recognized As The Name Of A cmdlet
The issue was that the Exchange Power Shell – Management Shell cmdlets was not in the location Exchange expected sooooo, I had to run the standard Windows Server Power Shell and load the commands manually:
- Right click on the standard Windows Power Shell and select RUN AS ADMINISTRATOR
- paste in the following code:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile “C:\Program Files\Microsoft\Exchange Server\v14\bin\exshell.psc1″ -noexit -command “. ‘C:\Program Files\Microsoft\Exchange Server\v14\bin\Exchange.ps1’”
Note that when you paste you WILL have to fix the single quote ‘ as my text editor appears to change them some gibberish.In my case an addition problem was that the blogs I was looking at to figure out my problem did not have the \V14\ folder in their path… this is bad.
- type your Exchange command and watch it work 🙂
Share This With Your Friends Now:
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
- 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
******user name "BakinJM" change this to your own****
|New-ManagementRoleAssignment –Role “Mailbox Import Export” –User “BakinJM”|
|New-MailboxExportRequest -Mailbox BakinJM -FilePath "\\PC1\pst$\BakinJM.pst|
Get-MailboxExportRequest | Get-MailboxExportRequestStatistics
Clear the previous Request
|Get-MailboxExportRequest | Remove-MailboxExportRequest|
The most comprehensive and easy to fallow post in this regard IMO…..
- A look at the Import/Export Mailbox improvements in Exchange 2010 Service Pack 1 (Part 2
- Create a Mailbox Export Request
- Set Permissions for Shared Folders
Oz Casey, Dedeal ( MVP north America)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +