How to find the product GUID of an installed MSI setup (quick and easy)

OurTechRoom
OurTechRoom
660 بار بازدید - 12 ماه پیش - In this video  I will
In this video  I will provide you two command which helps you to find the product GUID of an installed MSI setup. It is quick and easy process.

Command 1:
get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize


Command 2:
New-Object -ComObject WindowsInstaller.Installer; $InstallerProducts = $Installer.ProductsEx("", "", 7); $InstalledProducts = ForEach($Product in $InstallerProducts){[PSCustomObject]@{ProductCode = $Product.ProductCode(); LocalPackage = $Product.InstallProperty("LocalPackage"); VersionString = $Product.InstallProperty("VersionString"); ProductPath = $Product.InstallProperty("ProductName")}} $InstalledProducts

Hope you like this!
12 ماه پیش در تاریخ 1402/08/05 منتشر شده است.
660 بـار بازدید شده
... بیشتر