delphi 分析win2000系统漏洞补丁问题 如何才能取得win2000系统存在有哪些漏洞的列表 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Set objSession = CreateObject("Microsoft.Update.Session")Set objSearcher = objSession.CreateUpdateSearcherSet objResults = objSearcher.Search("Type='Software'")Set colUpdates = objResults.UpdatesFor i = 0 to colUpdates.Count - 1 Wscript.Echo "Title: " & colUpdates.Item(i).Title Wscript.Echo "Autoselect on Web sites: " & colUpdates.Item(i).AutoSelectOnWebSites For Each strUpdate in colUpdates.Item(i).BundledUpdates Wscript.Echo "Bundled update: " & strUpdate Next Wscript.Echo "Can require source: " & colUpdates.Item(i).CanRequireSource Set objCategories = colUpdates.Item(i).Categories For z = 0 to objCategories.Count - 1 Wscript.Echo "Category name: " & objCategories.Item(z).Name Wscript.Echo "Category ID: " & objCategories.Item(z).CategoryID For Each strChild in objCategories.Item(z).Children Wscript.Echo "Child category: " & strChild Next Wscript.Echo "Category description: " & objCategories.Item(z).Description Wscript.Echo "Category type: " & objCategories.Item(z).Type Next Wscript.Echo "Deadline: " & colUpdates.Item(i).Deadline Wscript.Echo "Delta compressed content available: " & _ colUpdates.Item(i).DeltaCompressedContentAvailable Wscript.Echo "Delta compressed content preferred: " & _ colUpdates.Item(i).DeltaCompressedContentPreferred Wscript.Echo "Description: " & colUpdates.Item(i).Description Wscript.Echo "EULA accepted: " & colUpdates.Item(i).EULAAccepted Wscript.Echo "EULA text: " & colUpdates.Item(i).EULAText Wscript.Echo "Handler ID: " & colUpdates.Item(i).HandlerID Set objIdentity = colUpdates.Item(i).Identity Wscript.Echo "Revision number: " & objIdentity.RevisionNumber Wscript.Echo "Update ID: " & objIdentity.UpdateID Set objInstallationBehavior = colUpdates.Item(i).InstallationBehavior Wscript.Echo "Can request user input: " & objInstallationBehavior.CanRequestUserInput Select Case objInstallationBehavior.Impact Case 0 Wscript.Echo "Installation impact: Typical" Case 1 Wscript.Echo "Installation impact: Negligible" Case 2 Wscript.Echo "Installation impact: High" Case Else Wscript.Echo "The installation impact could not be determined." End Select Select Case objInstallationBehavior.RebootBehavior Case 0 Wscript.Echo "Reboot behavior: No reboot required after installation." Case 1 Wscript.Echo "Reboot behavior: A reboot is required after installation." Case 2 Wscript.Echo "Reboot behavior: A reboot might be required after installation." Case Else Wscript.Echo "Reboot behavior: No information available regarding the need for a reboot." End Select Wscript.Echo "Requires network connectivity: " & objInstallationBehavior.RequiresNetworkConnectivity Wscript.Echo "Is beta: " & colUpdates.Item(i).IsBeta Wscript.Echo "Is hidden: " & colUpdates.Item(i).IsHidden Wscript.Echo "Is installed: " & colUpdates.Item(i).IsInstalled Wscript.Echo "Is mandatory: " & colUpdates.Item(i).IsMandatory Wscript.Echo "Is uninstallable: " & colUpdates.Item(i).IsUninstallable For Each strLanguage in colUpdates.Item(i).Languages Wscript.Echo "Supported language: " & strLanguage Next Wscript.Echo "Last deployment change time: " & colUpdates.Item(i).LastDeploymentChangeTime Wscript.Echo "Maximum download size: " & colUpdates.Item(i).MaxDownloadSize Wscript.Echo "Minimum download size: " & colUpdates.Item(i).MinDownloadSize Wscript.Echo "Microsoft Security Response Center severity: " & colUpdates.Item(i).MsrcSeverity Wscript.Echo "Support URL: " & colUpdates.Item(i).SupportURL Select Case colUpdates.Item(i).Type Case 1 Wscript.Echo "Update type: Software" Case 2 Wscript.Echo "Update type: Driver" Case Else Wscript.Echo "Update type: The update type could not be determined." End Select Wscript.Echo "Uninstallation notes: " & colUpdates.Item(i).UninstallationNotes x = 1 For Each strStep in colUpdates.Item(i).UninstallationSteps Wscript.Echo x & " -- " & strStep x = x + 1 Next For Each strArticle in colUpdates.Item(i).KBArticleIDs Wscript.Echo "KB article: " & strArticle Next Wscript.EchoNext存为vbs文件运行,提示错误代码:80072EFD,急求解???????????????? 用了动态控件,程序关闭时报错 2010年11月2日,老爸老妈的结婚纪念日,散分庆祝。 用filter会出现Operation not applicable 有关退出delphi软件的问题? 很少接触链表,关于整个链表释放问题,在线等 获取本地共享的目录和硬盘 指针,头都大了? 存储过程的参数怎么设 打印报表中的一个小问题 CoolControls 3.03b的问题 应该这么写吗? 请问如何在DELPHI里检测系统是否安装了adobe reader
Set objSearcher = objSession.CreateUpdateSearcher
Set objResults = objSearcher.Search("Type='Software'")
Set colUpdates = objResults.UpdatesFor i = 0 to colUpdates.Count - 1
Wscript.Echo "Title: " & colUpdates.Item(i).Title
Wscript.Echo "Autoselect on Web sites: " & colUpdates.Item(i).AutoSelectOnWebSites
For Each strUpdate in colUpdates.Item(i).BundledUpdates
Wscript.Echo "Bundled update: " & strUpdate
Next
Wscript.Echo "Can require source: " & colUpdates.Item(i).CanRequireSource
Set objCategories = colUpdates.Item(i).Categories For z = 0 to objCategories.Count - 1
Wscript.Echo "Category name: " & objCategories.Item(z).Name
Wscript.Echo "Category ID: " & objCategories.Item(z).CategoryID
For Each strChild in objCategories.Item(z).Children
Wscript.Echo "Child category: " & strChild
Next
Wscript.Echo "Category description: " & objCategories.Item(z).Description
Wscript.Echo "Category type: " & objCategories.Item(z).Type
Next Wscript.Echo "Deadline: " & colUpdates.Item(i).Deadline
Wscript.Echo "Delta compressed content available: " & _
colUpdates.Item(i).DeltaCompressedContentAvailable
Wscript.Echo "Delta compressed content preferred: " & _
colUpdates.Item(i).DeltaCompressedContentPreferred
Wscript.Echo "Description: " & colUpdates.Item(i).Description
Wscript.Echo "EULA accepted: " & colUpdates.Item(i).EULAAccepted
Wscript.Echo "EULA text: " & colUpdates.Item(i).EULAText
Wscript.Echo "Handler ID: " & colUpdates.Item(i).HandlerID Set objIdentity = colUpdates.Item(i).Identity
Wscript.Echo "Revision number: " & objIdentity.RevisionNumber
Wscript.Echo "Update ID: " & objIdentity.UpdateID Set objInstallationBehavior = colUpdates.Item(i).InstallationBehavior
Wscript.Echo "Can request user input: " & objInstallationBehavior.CanRequestUserInput Select Case objInstallationBehavior.Impact
Case 0
Wscript.Echo "Installation impact: Typical"
Case 1
Wscript.Echo "Installation impact: Negligible"
Case 2
Wscript.Echo "Installation impact: High"
Case Else
Wscript.Echo "The installation impact could not be determined."
End Select Select Case objInstallationBehavior.RebootBehavior
Case 0
Wscript.Echo "Reboot behavior: No reboot required after installation."
Case 1
Wscript.Echo "Reboot behavior: A reboot is required after installation."
Case 2
Wscript.Echo "Reboot behavior: A reboot might be required after installation."
Case Else
Wscript.Echo "Reboot behavior: No information available regarding the need for a reboot."
End Select Wscript.Echo "Requires network connectivity: " & objInstallationBehavior.RequiresNetworkConnectivity
Wscript.Echo "Is beta: " & colUpdates.Item(i).IsBeta
Wscript.Echo "Is hidden: " & colUpdates.Item(i).IsHidden
Wscript.Echo "Is installed: " & colUpdates.Item(i).IsInstalled
Wscript.Echo "Is mandatory: " & colUpdates.Item(i).IsMandatory
Wscript.Echo "Is uninstallable: " & colUpdates.Item(i).IsUninstallable
For Each strLanguage in colUpdates.Item(i).Languages
Wscript.Echo "Supported language: " & strLanguage
Next Wscript.Echo "Last deployment change time: " & colUpdates.Item(i).LastDeploymentChangeTime
Wscript.Echo "Maximum download size: " & colUpdates.Item(i).MaxDownloadSize
Wscript.Echo "Minimum download size: " & colUpdates.Item(i).MinDownloadSize
Wscript.Echo "Microsoft Security Response Center severity: " & colUpdates.Item(i).MsrcSeverity
Wscript.Echo "Support URL: " & colUpdates.Item(i).SupportURL Select Case colUpdates.Item(i).Type
Case 1
Wscript.Echo "Update type: Software"
Case 2
Wscript.Echo "Update type: Driver"
Case Else
Wscript.Echo "Update type: The update type could not be determined."
End Select Wscript.Echo "Uninstallation notes: " & colUpdates.Item(i).UninstallationNotes x = 1
For Each strStep in colUpdates.Item(i).UninstallationSteps
Wscript.Echo x & " -- " & strStep
x = x + 1
Next For Each strArticle in colUpdates.Item(i).KBArticleIDs
Wscript.Echo "KB article: " & strArticle
Next Wscript.EchoNext
存为vbs文件运行,提示错误代码:80072EFD,急求解????????????????