Get a GUID of a installed program and Uninstall string or path of installed software programs
Get-WmiObject -Class Win32_Product -ComputerName . | Where-Object -FilterScript {$_.Name -like “Java 8 Update*”} | Format-List -Property *
Get a GUID of a installed program and Uninstall string or path of installed software programs
Get-WmiObject -Class Win32_Product -ComputerName . | Where-Object -FilterScript {$_.Name -like “Java 8 Update*”} | Format-List -Property *