shutdown
Windows CMD · System · available in the simulator
What it does
Shuts down, restarts, or signs out.
Syntax
shutdown [/s | /r | /l | /h | /a] [/t segundos] [/f]
Options and parameters
/sShuts down the computer.
shutdown /s /t 0/rShuts down and restarts the computer.
shutdown /r /t 60/lLogs off the current user.
/hHibernates the computer.
/t Ndelay in seconds
/aAborts a scheduled shutdown.
shutdown /a/fForces running applications to close.
/tDelay in seconds before the action.
/mApplies the action to a remote computer.
/pTurns off the local computer immediately, with no time-out.
/gRestarts and reopens registered applications.
/oRestarts into the advanced boot options menu.
/hybridShuts down the computer and prepares it for fast startup.
/iDisplays the graphical remote shutdown dialog box.
Usage examples
shutdown /s /t 0shutdown /r /t 60shutdown /ashutdown /lshutdown /r /t 0