Author: Malte Bublitz
Language/File type: PowerShell
Description
Restart to Windows, skipping systemd-boot or GRUB
Code
1
2
3
4
5
# Set the BootNext UEFI variable
bcdedit /set "{fwbootmgr}" BOOTSEQUENCE "{bootmgr}"
# Restart the computer
Restart-Computer