Ted said:
I have a mix of 600 windows xp machines that are installed with either
english or french versions of the media. is there something about the
machine
that I can scan with an asset management tool that will tell me that about
the machine?
Not too sure how to integrate it into the asset management tool, but using
WMI you could query the Win32_OperatingSystem object.
It has (among others) properties like indicated in below vbscript:
Dim objWMIService
Dim colItems
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from
Win32_OperatingSystem",,48)
For Each objItem in colItems
WScript.Echo "BuildNumber: " & objItem.BuildNumber
WScript.Echo "BuildType: " & objItem.BuildType
WScript.Echo "CodeSet: " & objItem.CodeSet
WScript.Echo "CountryCode: " & objItem.CountryCode
WScript.Echo "Locale: " & objItem.Locale
WScript.Echo "OSLanguage: " & objItem.OSLanguage
WScript.Echo "OSProductSuite: " & objItem.OSProductSuite
WScript.Echo "OSType: " & objItem.OSType
WScript.Echo "OtherTypeDescription: " & objItem.OtherTypeDescription
WScript.Echo "SerialNumber: " & objItem.SerialNumber
WScript.Echo "ServicePackMajorVersion: " & objItem.ServicePackMajorVersion
WScript.Echo "ServicePackMinorVersion: " & objItem.ServicePackMinorVersion
Next
resulting in the following output:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
BuildNumber: 2600
BuildType: Multiprocessor Free
CodeSet: 1252
CountryCode: 1
Locale: 0409
OSLanguage: 1033
OSProductSuite:
OSType: 18
OtherTypeDescription:
SerialNumber: 55274-640-0740827-23479
ServicePackMajorVersion: 2
ServicePackMinorVersion: 0
Exit code: 0 , 0000h
hth
george