Last active
March 19, 2017 17:39
-
-
Save rivernate/37efb7508629bfec313710f2ca07ecea to your computer and use it in GitHub Desktop.
reboot to other linux
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 | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit) | |
bcdedit /set {fwbootmgr} bootsequence {uuid} | |
shutdown /r /t 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment