Getting the Service Pack and Windows Version Numbers

This script gets the Service Pack and Windows version numbers for a given computer running Windows. The script accepts the computer name in the format <DomainName>\<ComputerName>.

Description
This script should be run through a host application that supports VBScript, like the Windows Scripting Host or Explorer. The output is written to a file "ServicePack and OS Version.txt" in the current directory.

image\hdisk.gif ...WSH\VBScript\Computer\ServicePackNTVer\