The tsshutdn CMD command is a Windows command line prompt used to shut down or reboot a remote computer. It is part of the Windows Remote Shell (WinRS) command-line tool, which allows an administrator to execute commands on a remote computer. The tsshutdn command is used to shut down or reboot a remote computer, and can be used in conjunction with other WinRS commands to manage remote computers.

Syntax of the tsshutdn CMD Command

The syntax of the tsshutdn CMD command is as follows:

tsshutdn [/server:ServerName] [/shutdown] [/reboot] [/force] [/delay:Time] [/v]

Options for the tsshutdn CMD Command

The following options are available for the tsshutdn CMD command:

  • /server:ServerName – Specifies the name of the remote computer to which the command will be sent.
  • /shutdown – Shuts down the remote computer.
  • /reboot – Reboots the remote computer.
  • /force – Forces the remote computer to shut down or reboot, even if there are open programs or unsaved data.
  • /delay:Time – Specifies the amount of time, in seconds, to wait before shutting down or rebooting the remote computer.
  • /v – Displays verbose output.

Examples of the tsshutdn CMD Command

The following are examples of how the tsshutdn CMD command can be used:

  • To shut down a remote computer named “MyComputer”: tsshutdn /server:MyComputer /shutdown
  • To reboot a remote computer named “MyComputer”: tsshutdn /server:MyComputer /reboot
  • To force a remote computer named “MyComputer” to shut down: tsshutdn /server:MyComputer /shutdown /force
  • To wait 10 seconds before shutting down a remote computer named “MyComputer”: tsshutdn /server:MyComputer /shutdown /delay:10

How to Use the tsshutdn CMD Command

The tsshutdn CMD command can be used to shut down or reboot a remote computer. To use the command, open a command prompt window and type the command, followed by the appropriate options. For example, to shut down a remote computer named “MyComputer”, type the following command:

tsshutdn /server:MyComputer /shutdown

The command will then be sent to the remote computer, and the computer will be shut down. If the command is successful, the command prompt window will display a message indicating that the command was successful.

Conclusion

The tsshutdn CMD command is a useful tool for managing remote computers. It can be used to shut down or reboot a remote computer, and can be used in conjunction with other WinRS commands to manage remote computers. The command is easy to use, and can be used to quickly shut down or reboot a remote computer.

Leave a Reply