Created
March 13, 2025 09:11
-
-
Save tsgiannis/e254ba321bbfec4d3672ef3cbc822835 to your computer and use it in GitHub Desktop.
Execute a powershell script as administrator and set 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 -Command "Start-Process powershell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File \"%~dp0Laps.ps1\"' -Verb RunAs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment