Finding MSI Product Codes (Part 1)

by Oct 17, 2022

If you need a list of installed MSI packages and their product codes, you can use WMI to query the information. This may take a couple of seconds:

Get-CimInstance -ClassName Win32_Product | 
Select-Object -Property Name, @{Name='ProductCode'; Expression={$_.IdentifyingNumber}}

 


Twitter This Tip! ReTweet this Tip!