Get-ProgramInstallInfo

Gets information about the programs installed on the computer.

Syntax

Get-ProgramInstallInfo [[-Name] <String>] [<CommonParameters>]

Description

The 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.

Parameters

Name Type Description Required? Pipeline Input Default Value
Name String

The name of a specific program to get. Wildcards supported.

false false

Return Values

Carbon.Computer.ProgramInstallInfo.

EXAMPLE 1

Get-ProgramInstallInfo

Demonstrates how to get a list of all the installed programs, similar to what the Programs and Features UI shows.

EXAMPLE 2

Get-ProgramInstallInfo -Name 'Google Chrome'

Demonstrates how to get a specific program. If the specific program isn't found, $null is returned.

EXAMPLE 3

Get-ProgramInstallInfo -Name 'Microsoft*'

Demonstrates how to use wildcards to search for multiple programs.