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