This was taken directly from scriptomatic version 2 and works on all my WinXP
SP1 & SP2 machines
If that doesn't work pull up a command window and type :/>systeminfo
<enter> and see if hotfix entries list for you there.
<script>
On Error Resume Next
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
arrComputers = Array("DRVFV71")
For Each strComputer In arrComputers
WScript.Echo
WScript.Echo "=========================================="
WScript.Echo "Computer: " & strComputer
WScript.Echo "=========================================="
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM
Win32_QuickFixEngineering", "WQL", _
wbemFlagReturnImmediately +
wbemFlagForwardOnly)
For Each objItem In colItems
WScript.Echo "Caption: " & objItem.Caption
WScript.Echo "CSName: " & objItem.CSName
WScript.Echo "Description: " & objItem.Description
WScript.Echo "FixComments: " & objItem.FixComments
WScript.Echo "HotFixID: " & objItem.HotFixID
WScript.Echo "InstallDate: " & WMIDateStringToDate(objItem.InstallDate)
WScript.Echo "InstalledBy: " & objItem.InstalledBy
WScript.Echo "InstalledOn: " & objItem.InstalledOn
WScript.Echo "Name: " & objItem.Name
WScript.Echo "ServicePackInEffect: " & objItem.ServicePackInEffect
WScript.Echo "Status: " & objItem.Status
WScript.Echo
Next
Next
Function WMIDateStringToDate(dtmDate)
WScript.Echo dtm:
WMIDateStringToDate = CDate(Mid(dtmDate, 5, 2) & "/" & _
Mid(dtmDate, 7, 2) & "/" & Left(dtmDate, 4) _
& " " & Mid (dtmDate, 9, 2) & ":" & Mid(dtmDate, 11, 2) & ":" &
Mid(dtmDate,13, 2))
End Function
</script>
"joseph" wrote:
> Seems to bloody to do can you show example how to do it?
> <joseomjr.TakeThisOut@gmail.com> wrote in message
> news:1152682502.869202.250760@p79g2000cwp.googlegroups.com...
> > If Win32_QuickFixEngineering does not work for you, maybe you can
> > retrieve the information from the registry.
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
> >
> > joseph wrote:
> >> howdy list,
> >>
> >> strComputer = "."
> >> Set objWMIService = GetObject("winmgmts:" _
> >> & "{impersonationLevel=impersonate}!\\" & strComputer &
> >> "\root\cimv2")
> >> Set colQuickFixes = objWMIService.ExecQuery _
> >> ("SELECT * FROM Win32_QuickFixEngineering")
> >> For Each objQuickFix in colQuickFixes
> >> Wscript.Echo "Computer: " & objQuickFix.CSName
> >> Wscript.Echo "Description: " & objQuickFix.Description
> >> Wscript.Echo "Hot Fix ID: " & objQuickFix.HotFixID
> >> Wscript.Echo "Installation Date: " & objQuickFix.InstallDate
> >> Wscript.Echo "Installed By: " & objQuickFix.InstalledBy
> >> Next
> >>
> >>
> >> Don't enumerate the hotfixes installed on my XP machine, was the a new
> >> class to Query aside from Win32_QuickFixEngineering?
> >>
> >> TIA./jbt
> >
>
>
> >> Stay informed about: Hotfixe list on XP