today i was lost, so im posting this here so i know what to do next time

i needed to reboot my computer remotely through the remote destop protocol RDP, and when i logged in i wanted to restart the computer but i had no idea how to do that.

well, if you are like me and have a microsoft windows xp vista or server and you use it to rdp into the machine, you just have to send this command:

shutdown -r


thats it. all you need is the shutdown -r comand