|
请教各位老大,如何获取系统病毒数据库升级日期??
我只会这样获取病毒软件的名称,版本号,但是没有日期
Func _Anti_Virus_Product()
$oWMI = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\" & @ComputerName & "\root\SecurityCenter")
$colItems = $oWMI.ExecQuery("Select * from AntiVirusProduct"); "from FirewallProduct" works as well
For $objAntiVirusProduct In $colItems
MsgBox(0, "AntiVirusProduct", $objAntiVirusProduct.displayName)
MsgBox(0, "AntiVirusproductUptoDate", $objAntiVirusProduct.productUptoDate)
MsgBox(0, "AntiVirusversionNumber", $objAntiVirusProduct.versionNumber)
MsgBox(0, "AntiVirusinstanceGuid", $objAntiVirusProduct.instanceGuid)
Next
EndFunc |
|