From http://community.spiceworks.com/scripts/show/1885-check-for-os-version-by-name