Added in 1.9.0

$os

Returns the version number of the operating system.

The reply can be XP, 2003, 2003R2, Vista, 2008, 7, 2008R2, 8, 2012, 8.1, 2012R2, 10, or 2016.