The same one can be used to remotely shut down orrestart a computeryou have access to over a internet.

In some ways, it’s similar to thelogoffcommand.

If you don’t knowhow to read command syntax, below is a breakdown of what all that means.

Illustration of a person issuing the shutdown command on a Windows computer

Maddy Price / Lifewire

The availability of certain command switches and other syntax may differ fromoperating systemto operating system.

Filter by the USER32 source to find the entries.

Save the output of the shutdown commandto a file using aredirection operator.

drop off Immediately

Using the shutdown command shown here, the current computer is immediately logged off.

No warning message is displayed.

A comment is also recorded asPlanned restart by Tim.

Since no time is designated with the/toption, the shutdown will begin onSERVER30 seconds after executing the shutdown command.

It applies to any restart or shutdown command.