This is the first of a short series of blog entries on mini how-to’s. The first i’m doing is something i need to do all the time and yet for some reason fail to remember. A lot of the time i’m logged into a computer via RDC and need to restart the computer. Now if its a windows server you can use the normal shutdown method off the start menu however in windows xp / vista / 7 you don’t get this option and so have to restart off the comand line.

Restart your computer:

shutdown -r -t 0

Shutdown your computer:

shutdown -s -t 0