G
Guest
I have located a WSH Script on Microsoft TechNet that is supposed to enumerate installed hot fixes and give the date of installation. I have run the script, but the installation date is blank for every hot fix it finds. I installed a number of hot fixes today via Windows Update, and all are showing up with a blank Installation Date
Here's the code I am using
------------------------------------------
strComputer = ".
Set objWMIService = GetObject("winmgmts:"
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2"
Set colQuickFixes = objWMIService.ExecQuery
("Select * from Win32_QuickFixEngineering"
For Each objQuickFix in colQuickFixe
Wscript.Echo "Computer: " & objQuickFix.CSNam
Wscript.Echo "Description: " & objQuickFix.Descriptio
Wscript.Echo "Hot Fix ID: " & objQuickFix.HotFixI
Wscript.Echo "Installation Date: " & objQuickFix.InstallDat
Wscript.Echo "Installed By: " & objQuickFix.InstalledB
Nex
-------------------------------
Any thoughts on how I can get the installation date to show
Thank you
(Not sure if this is the right place for this question, so if I should post it elsewhere, please let me know!)
Here's the code I am using
------------------------------------------
strComputer = ".
Set objWMIService = GetObject("winmgmts:"
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2"
Set colQuickFixes = objWMIService.ExecQuery
("Select * from Win32_QuickFixEngineering"
For Each objQuickFix in colQuickFixe
Wscript.Echo "Computer: " & objQuickFix.CSNam
Wscript.Echo "Description: " & objQuickFix.Descriptio
Wscript.Echo "Hot Fix ID: " & objQuickFix.HotFixI
Wscript.Echo "Installation Date: " & objQuickFix.InstallDat
Wscript.Echo "Installed By: " & objQuickFix.InstalledB
Nex
-------------------------------
Any thoughts on how I can get the installation date to show
Thank you
(Not sure if this is the right place for this question, so if I should post it elsewhere, please let me know!)