LATEST UPDATES
ShareHolder Finder v0.9.3 is now released!!! Check Product Page for more details.
✉ info@automationdevelopers.com

ITS ALL ABOUT AUTOMATION

Sunday, 17 April 2016

AutoIt - Get Operating System (OS) Name


Author Post Date Sunday, 17 April 2016
Macro Name: @OSVersion

Returns one of the following: "WIN_10", "WIN_81", "WIN_8", "WIN_7", "WIN_VISTA", "WIN_XP", "WIN_XPe".
For Windows servers: "WIN_2016", "WIN_2012R2", "WIN_2012", "WIN_2008R2", "WIN_2008", "WIN_2003"".

Example is provided below:

#include <MsgBoxConstants.au3>

;Display OS Version
MsgBox($MB_SYSTEMMODAL, "OS Version", @OSVersion)

Related Posts




Interesting? Share and Let Others Know.

Post a Comment