Created
April 11, 2020 23:29
-
-
Save robearlam/b07c9f1ab8bd5d488bb3c7cde92aea5d to your computer and use it in GitHub Desktop.
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
schtasks /create /tn "WSL-Port-Mapping" /sc onstart /delay 0000:30 /rl highest /ru system /tr "powershell.exe -file "<<PATH_TO_POWERSHELL_SCRIPT>>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment