From http://community.spiceworks.com/scripts/show/2019-detect-windows-version