Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_Patch QueryContent of WMI Win32_Patch Query.vbsMD5 Hash: C06567DEF3652BB53B2326BD5F8C33B4 |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_Patch",,48) For Each objItem in colItems Wscript.Echo "Attributes: " & objItem.Attributes Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Description: " & objItem.Description Wscript.Echo "File: " & objItem.File Wscript.Echo "PatchSize: " & objItem.PatchSize Wscript.Echo "ProductCode: " & objItem.ProductCode Wscript.Echo "Sequence: " & objItem.Sequence Wscript.Echo "SettingID: " & objItem.SettingID Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |