How to Restart or Shutdown a Remote Computer
Reference
https://activedirectorypro.com/restart-shutdown-remote-computer/
Example 3: Immediate Restart no Countdown
If you want to immediately restart with no countdown or message use this command.
shutdown /r /m \\pc2 /t 0
If you want a longer countdown just specify the seconds /t 60