Restart a Windows server remotely

To restart a server remotely , especially when you cannot access the console, use the following command:

shutdown /m \\PC-NAME /r /t 0

or if you prefer the GUI version, use the command:

shutdown /i