Windows 7 Remote Desktop shutdown command

So you’re connected to a remote machine and you have no shutdown or restart option? No problem just run the command from the command line as follow:

Restart and force close all open apps: shutdown -t 0 -r -f