Get GUIDs of installed software


You can get the GUIDs of installed software using the following Visual Basic script:


Set oWMIroot = GetObject("WinMgmts:root/cimv2")

Set oWMIColl = oWMIroot.ExecQuery("Select IdentifyingNumber, Name  FROM Win32_Product")

For Each oWMIval In oWMIColl
    WScript.Echo oWMIval.Name & " = " & oWMIval.IdentifyingNumber
Next

Popular posts from this blog

IIS Client Certificate Revocation Check Disable

How to Configure Message Forwarding on a Mailbox Level

Syslog Message Collection for OMS from sources that do not support the agent