pips
pips copied to clipboard
Won't start if execution policy is too restricting
Try to bypass or write instructions for user
Tried and tested working configuration:
Get-ExecutionPolicy -List
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined # Managed in gpedit.msc (default = Not configured)
UserPolicy Undefined # Managed in gpedit.msc (default = Not configured)
Process Undefined # Managed in the starter script (= Bypass)
CurrentUser AllSigned
LocalMachine AllSigned
For experiments:
Set-ExecutionPolicy -Scope LocalMachine RemoteSigned -Force