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 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 🙂
6 Comments
Oscar · November 25, 2020 at 8:32 am
paste the code exactly like explain in the page, but verify that the single quote ‘ is ok because some text editors modify this character, And also verify the path of your exchange installation, in my case (exchange 2010) I paste de code like this:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile “D:\Apl\Microsoft\Exchange Server\Bin\exshell.psc1” -noexit -command “. ‘D:\Apl\Microsoft\Exchange Server\Bin\Exchange.ps1’”
Bumba · May 5, 2020 at 12:12 am
Hello,
It worked for me as well, but i have to run it everytime i want to configure anything from exchange management shell. Isn´t there a way to totally fix it?
karim · July 23, 2017 at 10:16 am
Hello what do you mean
Note that when you paste you WILL have to fix the single quote ‘
it needs to be replaced by ” or removed
Thanks
friz · May 30, 2017 at 12:54 am
Thanks, it’s work for me too !
karim · July 23, 2017 at 10:18 am
Hello
how did you paste the command not working for me
Thanks
Wasantha · October 2, 2015 at 12:25 am
Thanks bro. It is worked to me.
Thanks again
Wasantha