Monday, 20 August 2018

Set-ExecutionPolicy Unrestricted RemoteSigned

Get-ExecutionPolicy
RemoteSigned

if you want to change to Unrestricted, try below script

Set-ExecutionPolicy Unrestricted -Scope CurrentUser

if you want to change to RemoteSigned, try below script

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser