Pages

Search This Blog

Monday, June 17, 2013

'powershell' is not recognized as an internal or external command, operable program, or batch file.

Try to install/enable GUI in windows server 2012 but first thing we need to do is use powershell. When i try to use this powershell command, it shows error message

'powershell' is not recognized as an internal or external command, operable program, or batch file.

What we can do is execute command below one by one

dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShellRoot
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell /all

and remember to restart the server before continue.

1 comment:

Kamar 318 said...

thx dude ! very helpfull for me ! (y)