Patrick

Try this:
code:
? OS_Info('.')     ; Get Info for: local WS
? OS_Info('PC099') ; Get Info for: PC099
Get $x

Function OS_Info($Computer)
Dim $oWMIService,$ItemS,$Item

$oWMIService = GetObject("winmgmts:\\" + $Computer + "\root\cimv2")
$ItemS = $oWMIService.ExecQuery("Select * from Win32_OperatingSystem where Primary=True")
For Each $Item In $ItemS
$OS_Info = $Item.Caption
$OS_Info = $OS_Info + ',' + $Item.OSLanguage
Next
EndFunction

The function: OS_Info()
Returns: ProductType and ISO 639 number of OS-language separated by a comma

Examples of results:
Microsoft Windows XP Professional,0413 ; 0413 = Dutch
Microsoft Windows XP Professional,1030 ; 1030 = Danish
Microsoft Windows XP Professional,1033 ; 1033 = English

-Erik