1

I have installed Sitecore Habitat V1.8.1 while run Default in Task run Explorer faced below issue.

enter image description here

Error : 'Powershell' is not recognized as an internal or external command, Operable program or batch file.

If(err !=null) thorw err; in the file unicorn.js:44 file

enter image description here

Updated : Installed Powershell Version is 5.1 on my machine.

7
  • check the installed powershell version and Sitecore Habitat compatible powershell version.. These should match.
    – Jitendra
    Apr 12 '20 at 10:46
  • Installed poweshell version is 5.1.but i don't know how to check Sitecore Habitat compatiable powershell version ? Apr 13 '20 at 2:35
  • can you check your environment variables? make sure you have %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ value in Path environment variable. Apr 13 '20 at 4:29
  • @MahendraShekhawat path is already configured in environment variable Apr 13 '20 at 7:09
  • @Jitendra How can i check the powershell version in Sitecore habitat solution Apr 13 '20 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.