full shutdown windows 10 cmd

Java
shutdown /s /f /t 0
Source

Also in Java: