Environment
Reflection Desktop 16.0 and higher
InfoConnect Desktop 16.0 and higher
Extra! X-treme 9.0 and higher
Situation
How to identify the product type, version and product GUID of the Micro Focus software installed on a PC system using Windows PowerShell.
Resolution
Basic syntax of a PowerShell command to get a Product code:
get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage
Sample PowerShell command using part of a product name: (Extra! X-treme 9.6)
Command:
get-wmiobject Win32_Product | Where-Object -FilterScript {$_.Name -like "*EXTRA*"} | Format-Table
Output:
Name LocalPackage IdentifyingNumber
Micro Focus Extra! X-treme 9.6 C:\\Windows\\Installer\\1332c1e.msi {8AA56BDF-5190-44C1-9A6F-7D77B2F0E44E}
Sample PowerShell command using part of a product name: (Reflection Desktop 17.0 SP1)
Command:
get-wmiobject Win32_Product | Where-Object -FilterScript {$_.Name -like "*Reflection*"} | Format-Table Name, LocalPackage, IdentifyingNumber
Output:
Name LocalPackage IdentifyingNumber
Micro Focus Reflection Desktop C:\\Windows\\Installer\\607d5.msi {B6498631-2585-4C39-AE55-A6937938EC3B}
Sample PowerShell command using part of a vendor name: (Micro Focus)
Command:
get-wmiobject Win32_Product | Where-Object -FilterScript {$_.Name -like "*Micro Focus*"} | Format-Table Name, LocalPackage, IdentifyingNumber
Output:
Name LocalPackage IdentifyingNumber
Micro Focus Reflection Desktop C:\\Windows\\Installer\\607d5.msi {B6498631-2585-4C39-AE55-A6937938EC3B}
Note: PowerShell is installed by default with Microsoft Windows 7 and later. To run the application, just go to the Windows Start Menu and in the search box type “PowerShell”. Select it off the list and many of the PowerShell commands need to be started with “Run as Administrator”. The IdentifyingNumber is the GUID for the application and can be used to uninstall the software via a command line such as "msiexec /x {GUID}"
#SupportTips/KnowledgeDocs#Reflection