Gets information about the programs installed on the computer.
Get-ProgramInstallInfo [[-Name] <String>] [<CommonParameters>]
Get-ProgramInstallInfo function is the PowerShell equivalent of the Programs and Features UI in the Control Panel. It inspects the registry to determine what programs are installed. It will return programs installed for all users, not just the current user.
Get-ProgramInstallInfo tries its best to get accurate data. The following properties either isn't stored consistently, is in strange formats, can't be parsed, etc.
ProductCode property is set to
[Guid]::Empty if the software doesn't have a product code.
User property will only be set for software installed for specific users. For global software, the
User property will be
InstallDate property is set to
[DateTime]::MinValue if the install date can't be determined.
Version property is
$null if the version can't be parsed
The name of a specific program to get. Wildcards supported.
Demonstrates how to get a list of all the installed programs, similar to what the Programs and Features UI shows.
Get-ProgramInstallInfo -Name 'Google Chrome'
Demonstrates how to get a specific program. If the specific program isn't found,
$null is returned.
Get-ProgramInstallInfo -Name 'Microsoft*'
Demonstrates how to use wildcards to search for multiple programs.