Quando quero desligar um computador, abro um prompt de comando no controle remoto e, em seguida, digito
shutdown /s /t 10
Esse comando irá desligar o computador em 10 segundos
aqui estão as opções de comando para o comando shutdown
To shutdown your PC type : shutdown / s
To restart your PC type : shutdown / r
To logoff your PC type : shutdown / l
The list of shutdown options include:
No args Display help. This is the same as typing /?.
/? Display help. This is the same as not typing any options.
/i Display the graphical user interface (GUI). This must be the first option.
/l Log off. This cannot be used with /m or /d options.
/s Shutdown the computer.
/r Full shutdown and restart the computer.
/g Full shutdown and restart the computer. After the system is rebooted, restart any registered applications.
/a Abort a system shutdown. This can only be used during the time-out period.
/p Turn off the local computer with no time-out or warning. Can be used with /d and /f options.
/h Hibernate the local computer. Can be used with the /f option.
/hybrid Performs a shutdown of the computer and prepares it for fast startup. Must be used with /s option.
/e Document the reason for an unexpected shutdown of a computer.
/o Go to the advanced boot options menu and restart the computer.
/t xxx Set the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30.
/c Comment on the reason for the restart or shutdown. Maximum of 512 characters allowed.
/f Force running applications to close without forewarning users.
/d Provide the reason for the restart or shutdown.