How to Fix Running Scripts is Disabled Error in Powershell on Windows 10

preview_player
Показать описание
If you are running into an error saying that your script "cannot be loaded because running scripts is disabled on this system" while trying to run a script in Powershell, on Windows 10, you have to change the execution policies first.

Tip me if this helped you or subscribe or both. :)
Рекомендации по теме
Комментарии
Автор

Thanks a lot man! Such a quick and clear explanation. You are the best

ivan-the-l
Автор

Awesome, straight-forward vid, dude!

FYI - Alternatively, set-executionpolicy remotesigned"
If you want it not on an administrator level, but for the local user, go for "set-exec... -Scope CurrentUser" then "remotesigned".
Otherwise run as administrator, for the dumbos

nehneh
Автор

Wow! Thank you very much!!! perfectly)

lozovink
Автор

you need to put the script n the description.

K
Автор

Thanks man I was using Ubuntu inside vmware but now I can use windows 10 back xd

MohamedIbrahim
Автор

Don't try and enable scripts in power shell use a different terminal such as node or bash.

centori