Winver

Winver is a command used in Microsoft Windows versions since Windows 3.0, and is used to display your current version of windows, info regarding the licensing, and the buildtag.