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

Domain Controller Machine Password Reset

Configuring a Certificate on Exchange Receive Connector

Managing Active Directory User Certificates using PowerShell