Windows Magic Recipes

Some useful commands & scripts

Reboot into Firmware

Run as Admin and type: Shutdown /r /fw /t 1

Shutdown

Using the Windows CLI:

Shut down in a minute (no prompt): Shutdown /s

Restart in a minute (no prompt): Shutdown /r

Interactive: Shutdown -i

Using NirCMD:

Shut down: <path>\NirCMD exitwin poweroff

Restart: <path>\nircmd.exe exitwin reboot

Open Control Panel

In Settings search for Control Panel

In Task Manager, create New Task and type Control Panel

Find out PC details from command line

Serial number:  wmic bios get serialnumber

Mobo Details:  wmic baseboard get product,manufacturer