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