The following command is used for remote pc shutdown

shutdown -m \\computername(or Ipaddress) -s -f -t 00


-m Remote machine

-s Shutdown

-t time duration