Powershell is not recognized

Sometimes, an error message's window is displayed:

On Windows computers, if the message indicates "Command failed: powershell [...] is not recognized as an internal or external command" this means you are missing the tool "Powershell" that is by default installed on Windows platform.


  • Sometimes updating Windows can solve the issue
  • Check that PowerShell v1 installed, and windows recognises the command :

    • Press "WIN + R" >  Then type "cmd" > press enter to open a new terminal. 

      • In the command prompt, type "echo %path:;=&echo(%", then press enter
      • Look into the result prompt for a line ending with "WindowsPowerShell\v1.0\"
        If you can't find it, then we will need to fix your windows path. 



    • Then we will want to check if powershell is installed :
      • Open your File Explorer and paste this location : "C:\Windows\System32\WindowsPowerShell\v1.0\"

        You should find a folder with a file called powershell in it : 


Now we want to "Rebuild" your default Windows powershell path :

Inside the windows search bar, type Edit environment variables for your account :


      • A new window will appear, go to the 'Advanced' tab and click on Environment Variables

    • PATH3.png
      • A new window will appear with two tabs called 'User Variables' and 'System Variables'.
      • Within the 'System variables' tab, scroll down to find a line called 'Path', then double-click on it.



This will open a new window where we'll be able to edit the different paths your computer should know.

To add a new line, click on the 'New' button.

Add the following path :

- C:\Windows\System32\WindowsPowerShell\v1.0\

Once you are done, windows should be able to recognize powershell as a command.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Article is closed for comments.