Rebooting a remote Windows server with PowerShell
- skarbnik

- Jul 30, 2019
- 1 min read
Step 1: Launch PowerShell
If you are in a command prompt enter the command:
PowerShell
The prompt will add PS at the beginning, and your typed commands should appear in yellow.
Step 2: Restart remotely
In the PowerShell window, type the following:
Restart-Computer –ComputerName “NAME_OF_SYSTEM” -Force
Replace NAME_OF_SYSTEM with the name of the computer you want to restart. Make sure to include the quotation marks.

Comments