Remotely Shutdown Windows Computer
Quick and handy command to remotely shut down a windows PC
shutdown -s -m \\computername -t 01 |
In this case the switches are -s = shutdown, -m = remote machine and -t is time until shutdown in seconds, in this example 1 second.
Naturally you must have local admin rights on the remote machine to shutdown.