shutdown

A tool for shutting down, restarting or logging off a machine. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/shutdown.

shutdown /s

shutdown /s /f

shutdown /r /t 0

shutdown /h

shutdown /l

shutdown /s /t 8

shutdown /a

shutdown /m \\hostname