If you want to find out which version of Windows a remote machine is using, and you have sufficient access rights on the remote machine to do so, you can simply open the command prompt and type:

systeminfo /S MACHINENAME | find “OS Name:”