windows cmd language.
shutdown:
-l cancellation
-s Shut down the computer
-sg turn off the computer, from any registered application at the next reboot
-r completely shut down and restart your computer
-g completely shut down and restart the computer. After restarting the system, restart any applications that are registered
-a closed termination system, used in conjunction with / fw, clearing any pending guide to the firmware.
-p shut down the local computer, no timeout or warning can be used with -d and -f option
-h dormant local computer, used with the -f option
-E reason for an unexpected shutdown of computer records