Run PowerShell script bypassing execution policy

article #1131, updated 2279 days ago

Run it like this, from CMD:

"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass script.ps1

Categories: