Hey guys you can type ver at the command prompt to see what version of windows you are running but is there a line you can add to see what service pack?
Can I ask why this needs to be done in the command prompt? You would have to connect to the remote machine and run the command. I don't know of any built-in commands that do that. You could google something called PsExec....