I want to programmatically find out what version of Windows a computer is running.
In the CMD shell one can type ver
which for my computer returns:
Microsoft Windows [Version 6.2.9200]
But that can be the same on a server. Is there a command (maybe VBScript?) to find out the exact Windows version, such as Windows Server 2008?