enable running script powershell windows 10 code example
Example 1: powershell enable scripts
Set-ExecutionPolicy unrestricted
Example 2: PSSecurityException
set-executionpolicy remotesigned
Set-ExecutionPolicy unrestricted
set-executionpolicy remotesigned