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)
;Display OS Version
MsgBox($MB_SYSTEMMODAL, "OS Version", @OSVersion)
- AutoIt - Get OS Service Pack
- AutoIt - Get Computer Name
- AutoIt - Get OS Language
- AutoIt - Get Keyboard Layout
- AutoIt - Get Multi Language Name
- AutoIt - Get currently logged on user name
- AutoIt - Get CPU Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get OS Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get Display Height (Vertical Resolution) and Width (Horizontal Resolution)
- AutoIt - Get Display Depth (Color quality)
- AutoIt - Get Display Refresh Rate
- AutoIt - Get IP Address
Interesting? Share and Let Others Know.
Post a Comment