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.
ProductCodeproperty is set to
[Guid]::Emptyif the software doesn't have a product code.
Userproperty will only be set for software installed for specific users. For global software, the
Userproperty will be
InstallDateproperty is set to
[DateTime]::MinValueif the install date can't be determined.
$nullif the version can't be parsed
|Name||Type||Description||Required?||Pipeline Input||Default Value|
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.