powershell set execution policy in script code example
Example: how to change execution policy powershell
Set-ExecutionPolicy -ExecutionPolicy <PolicyName> # general syntax
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned # for example
Set-ExecutionPolicy -ExecutionPolicy <PolicyName> # general syntax
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned # for example