so you could WMIQuery() it

WMIQuery('Caption','Win32_OperatingSystem',$computer,'Primary','True')
WMIQuery('OSLanguage','Win32_OperatingSystem',$computer,'Primary','True')
_________________________
How to ask questions the smart way <-----------> Before you ask