The Version property is read only and returns a string that is the version number of the host executable.
WScript.Echo "This is WSH
version", WScript.VersionThis is WSH version 5.1This VBScript code illustrates the use of this property under WSH 2.0. Note that in this case, the Version property returns 5.1.