Created
August 26, 2016 13:19
-
-
Save devynspencer/c9586d025ba7a5c89461722c5efea5be to your computer and use it in GitHub Desktop.
Example batch file to run a powershell script without having to fuck with the system execution policy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
Powershell -noprofile -executionpolicy bypass -file "C:\scripts\script.ps1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment