Whenever you feel the need to restart or shut down your computer from a remote location, try these tools to see if they work. Use Remote Desktop Connection Restart using Windows PowerShell Restart ...
This guide shows how to shut down Windows using shutdown.exe and PowerShell, including options for timers, restarts, hibernation, shortcuts, and remote control.