Answered by : vivacious-vole-r4v19aygpjqn
Set-ExecutionPolicy Unrestricted
Source : https://stackoverflow.com/questions/16460163/ps1-cannot-be-loaded-because-the-execution-of-scripts-is-disabled-on-this-syste | Last Update : Fri, 19 Jun 20
Answered by : xanthous-xenomorph-3sym2igtfq5h
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Source : https://stackoverflow.com/questions/4037939/powershell-says-execution-of-scripts-is-disabled-on-this-system | Last Update : Sun, 02 Aug 20
Answered by : ajmal-mohammad
Run this command on your VScode integrated terminal:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Source : | Last Update : Thu, 08 Oct 20
Answered by : lonely-loris-ynq1rca5z31c
Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "RemoteSigned"
Source : https://stackoverflow.com/questions/4037939/powershell-says-execution-of-scripts-is-disabled-on-this-system | Last Update : Fri, 24 Jul 20
Answered by : nitesh-jangid
run this command three command one by one
set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Get-ExecutionPolicy
Get-ExecutionPolicy -list
after check angular version this command
ng version
Source : | Last Update : Thu, 08 Jul 21
Answered by : muhammad-mabrouk
I found out here that you can add to your visual studio code settings the following and the problem will vanish: For visual studio code settings, go to File -> Preferences -> Settings -> Extensions -> Scroll down and find "Edit in settings.json"
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "Bypass"]
The reason is that, in build command line integrations like visual studio code, you need to set the command line policies by your self. By setting the above configurations, the visual studio code will do that for you.
(read this to understand better the command line policies)
Source : https://stackoverflow.com/a/56199112/6663458 | Last Update : Sat, 12 Sep 20