How to Use Commands to Restart or Shutdown a Remote Windows Computer

In this article, we will show you the command lines used to perform a restart or shutdown on a remote windows operating system computer. The same commands can be used in Windows Server operating systems.

Using Windows PowerShell

## To shutdown a remote Windows computer or server
Stop-Computer -ComputerName REMOTE_WINDOWS_NAME -Force

## To restart a remote Windows computer or server
Restart-Computer -ComputerName REMOTE_WINDOWS_NAME -Force

## Example
Restart-Computer -ComputerName ITSITI-COMPUTER -Force

Using Windows Command Prompt

## To shutdown a remote Windows computer or server
shutdown /s /m \\REMOTE_WINDOWS_NAME

## To restart a remote Windows computer or server
shutdown /r /m \\REMOTE_WINDOWS_NAME

## Example
shutdown /r /m \\ITSITI-COMPUTER

You May Also Like

Leave a Reply?