Is there is a way to get service pack number from command line? Or the build number from command line (from which I can tell the service pack number (see http://superuser.com/questions/61944/how-do-i-determine-windows-version-and-service-pack-from-windowsupdatelog-txt))?
Upon starting cmd, part of the windows version number is printed on screen, but not the service pack number.
I want a non-powershell answer, but I wouldn't mind knowing about a power-shell answer anyways since some computers I deal with do have it installed.