Last active
August 29, 2015 14:15
-
-
Save GordonBeeming/86f63f2930f3c4f3dbc9 to your computer and use it in GitHub Desktop.
Simple batch file that runs a ps1 file that matches the bat file name with unrestricted execution policy
This file contains 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 | |
cd /d %~dp0 | |
powershell.exe -ExecutionPolicy Unrestricted -File ".\%~n0.ps1" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment