Return to Snippet

Revision: 68770
at February 22, 2015 23:07 by jatubio


Initial Code
powershell.exe -noprofile -executionpolicy bypass -file .\script.ps1

Initial URL


Initial Description
If you get "File script.ps1 cannot be loaded because the execution of scripts is disabled on this system" error on running a powershell script, you can run with the line below..

Or, you can also run powershell with admin rights and run this command:
set-executionpolicy remotesigned

Initial Title
Run a powershell script regardless of the local political system

Initial Tags


Initial Language
Windows PowerShell