Tricks

To execute the commands listed below, you have to open the Windows Command Prompt or CMD, to do this simply
follow these two basic options.
1. Manually, click Start Menu-> Type CMD in the Instant Search, and once it appears press Enter.
2. Press the Windows button + R, next type ‘cmd’ and hit Enter.
Shutdown Local Computer using Command Prompt:
shutdown -s

Abort Windows Shutdown using Command Prompt:
shutdown -a

Remote Shutdown Windows Commands:
shutdown -s -m \\computername -t 60
Parameters (Documentation).
-t xx       “xx” specify number of seconds to shutdown Windows
-a            Abort Windows shutdown which is already in progress
-r             Restart the computer
-s            Shutdown command
-f             This command forces the existing applications to close without warning
-c            You can leave a comment or meesage while Shuttin down down the windows.



                               Referred By: G.Sabarigokulraj (CSE III A)