Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powershell is not installed in the system #2

Closed
GiganticThirstyHerald opened this issue Sep 19, 2020 · 2 comments
Closed

Powershell is not installed in the system #2

GiganticThirstyHerald opened this issue Sep 19, 2020 · 2 comments

Comments

@GiganticThirstyHerald
Copy link

I have re-installed powershell through windows components menu, but still got this error

==== ERROR ====

Powershell is not installed in the system.
Aborting...
@WindowsAddict
Copy link
Member

I have re-installed powershell through windows components menu, but still got this error

==== ERROR ====

Powershell is not installed in the system.
Aborting...

Something is wrong with PowerShell path in the system,

anyway for now, you can change the command to make it work.

find,
for %%i in (powershell.exe) do if "%%~$path:i"=="" (
and replace it with,
if not exist "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" (

@GiganticThirstyHerald
Copy link
Author

Yeah, it wasn't in system variables for some reason. I've added it to path, now it's working. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants