Created
July 22, 2016 19:50
-
-
Save joeypiccola/5b7427dbf199efcf4ece6abbeffcd58b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Error Resume Next | |
strComputer = "." | |
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") | |
Set colItems = objWMIService.ExecQuery("Select * from Win32_QuickFixEngineering",,48) | |
For Each objItem in colItems | |
If objItem.HotfixID = "KB3125574" then | |
Wscript.Echo "true" | |
End If | |
Next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment