How to restart a server remotely from Command Prompt

Recently I got into a situation where I had to restart one of the servers from my local machine (to which I had connected through VPN).  To do to that:

1. Open a command prompt and type the below command:
    shutdown /[r|s] /m \\ComputerName /c "Comment" /d [u|p] <xx>:<yy> and then press ENTER.

    For E.g.,     shutdown /r /m  \\<server name> /c "Put in your Comments/Reason for restart" /d  10:11

Continue reading

2,546 total views, no views today