Get-ProgramInstallInfo

Gets information about the programs installed on the computer.

Syntax

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

Description

This function is the PowerShell equivalent of the Programs and Features UI.

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.