Check the current execution-policy
To change the current execution-policy use:
PS C:\Windows\System32> Get-ExecutionPolicy
Restricted
PS C:\Windows\System32>
To change the current execution-policy use:
PS C:\Windows\System32> Set-Executionpolicy -ExecutionPolicy Unrestricted
Note: this command must be run elevated (Start Powershell using ‘Run as Administrator’)
No comments:
Post a Comment