Remote restart computer using command line

I use Sysinternals psexec

psexec \\targethost cmd

will open a command prompt to the remote system. then just issue a shutdown command like 'shutdown \m'

Here is the syntax guide for psexec: http://ss64.com/nt/psexec.html