
In the above PowerShell script to restart multiple remote computers, Use Restart-Computer cmdlet in PowerShell to restart one or more remote computers as given below Restart-Computer -ComputerName SHELL-PC01, SHELL-PC02, localhost
#RESTART COMPUTER REMOTELY POWERSHELL HOW TO#
Restart-Computer cmdlet in PowerShell reboots the local computer.Ĭool Tip: Event Id 1074 – System restart or shutdown! How to Restart Remote Computer using PowerShell? Type the below command to restart the computer using PowerShell Restart-Computer You can use the “Run as Administrator” option to open a command prompt in administrator privileges.
#RESTART COMPUTER REMOTELY POWERSHELL WINDOWS#
Click on the Search icon in the Windows taskbar.To reboot the local computer using PowerShell restart-computer command, use these steps:

Restart-Computer PowerShell command is used to restart local or remote computers. Shutdown cmd will reboot the remote computer after 60 seconds delay.Ĭool Tip: How to use test-connection to ping a list of computers! Restart Windows with Restart-Computer PowerShell Command “You are about to sign out” and followed by “Please save all of your documents” It will display a standard windows dialog box on a remote machine with messages as You can force a restart of the remote computer with comments for the target machine using the below command shutdown /r /m \\SHELL-PC101 /t 60 /c "Please save all of your documents" The above command will restart the remote machine name SHELL-PC101 after 60 seconds delay. Use the below command to reboot the remote computer using cmd shutdown /r /m \\SHELL-PC101 /t 60 m parameter in shutdown command specify remote machine name. You can use the Shutdown /r /m command-line tool to restart the remote computers using the command prompt. The above command will restart the computer after 30 seconds.Ĭool Tip: How to get the last boot time of the computer using PowerShell! Restart Remote Computer using Command Prompt If you want to cmd reboot computer after 30 seconds or after specific seconds interval time, use /t parameter to specify reboot timer in seconds as given below shutdown /r /t 30 Shutdown /r /t 0 specify to restart the windows after 0 seconds ( immediately) Use the /t parameter to specify the immediate reboot of the windows using the below command shutdown /r /t 0

Shutdown /r command-line tool restart windows after 1-minute delay as default timer. Use the shutdown /r cmd command to restart computer.Īfter you complete the above steps, the computer will reboot.Ĭool Tip: How to get a list of PowerShell Modules! How to restart computer immediately with shutdown command Use the following command to restart the computer.Cmd restart/reboot windows with Shutdown /r command
