restart remote pc cmd code example Example: restart remote computer cmd using ip address shutdown -m \\192.168.1.25 -r -f