Forrest logo
back to the shutdown tool

shutdown:tldr:3b50e

shutdown: Shutdown a remote machine.
$ shutdown /m ${\\hostname}
try on your machine

The command shutdown /m ${\\hostname} is a Windows command line instruction used to remotely shutdown a computer with a specific hostname.

Let's break down the command:

  • shutdown: This is the main command used to initiate a system shutdown or restart.
  • /m: This flag is used to specify a remote computer. It tells the shutdown command that the operation being performed will affect a different machine.
  • ${\\hostname}: This is a placeholder for the hostname of the remote computer. Typically, you would replace this placeholder with the actual hostname of the computer you want to shutdown.

So, when this command is executed, it will shut down the remote computer with the specified hostname. Note that for this command to work, you need to have the necessary access rights and permissions to shutdown a remote machine.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the shutdown tool