Restart YOUR pc from a command prompt.

Restart YOUR pc from a command prompt.

shutdown -r  (the -r means reboot or restart)


Note: To restart someone else's pc on the network you will need to know their IP address.
Restart someone else's pc on the network
shutdown -r -m 192.168.1.10