Version Checker
I have a script below that gets me the version info on all the programs installed on my pc. Does anyone know of a way I can modify this so it can only get me Adobe reader and winzip? Your help would be greatly appreciated.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" & _
"{impersonationLevel=impersonate}!\\" & _
strComputer & _
"\root\cimv2")
Set colSoftware = objWMIService.ExecQuery _
("SELECT * FROM Win32_Product")
If colSoftware.Count > 0 Then
For Each objSoftware in colSoftware
Wscript.Echo objSoftware.Caption & vbtab & _
objSoftware.Version
Next
Else
WScript.Echo "Software not installed"
End If
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
("SELECT * FROM Win32_Product WHERE Name LIKE 'Adobe Read%'")
("SELECT * FROM Win32_Product WHERE Name LIKE 'Adobe Read%'")
Please log in to answer
Posted by:
anonymous_9363
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.