Ever been logged into a machine via RDP and you need to do a reboot but guess what, “restart” isn’t one of your options. You only have Disconnect and Log Off. Ooops. Now what?
No problem, just run this from the command line:
And thats it. The system will reboot in 30 seconds.