PackageDeployment Module Help

Package Deployment Module

Read-ADTInstalledApplication Cmdlet

Version 4.0.0.5

Read-ADTInstalledApplication

Synopsis

Retrieves information about installed applications.

Syntax

Read-ADTInstalledApplication [[-Name] <String[]>] [-Exact] [-WildCard] [-RegEx] [[-ProductCode] <String>] [-IncludeUpdatesAndHotfixes] [[-ResultVariablePrefix] <String>] [-PassThru] [[-ReturnProperties] <String[]>] [[-Context] <String>] [<CommonParameters>]

Description

Retrieves information about installed applications by querying the registry. You can specify an application name, a product code, or both. Returns information about application publisher, name & version, product code, uninstall string, install source, location, date, and application architecture.

Parameters

-Name <String>

The name of the application to retrieve information for. Performs a contains match on the application display name by default.

Required

False

Position

1

Accepts pipeline input

False

-Exact <SwitchParameter>

Specifies that the named application must be matched using the exact name.

Required

False

Position

Named

Accepts pipeline input

False

-Wildcard <SwitchParameter>

Specifies that the named application must be matched using a wildcard search.

Required

False

Position

Named

Accepts pipeline input

False

-RegEx <SwitchParameter>

Specifies that the named application must be matched using a regular expression search.

Required

False

Position

Named

Accepts pipeline input

False

-ProductCode <String>

The product code of the application to retrieve information for.

Required

False

Position

2

Accepts pipeline input

False

-IncludeUpdatesAndHotfixes <SwitchParameter>

Include matches against updates and hotfixes in results.

Required

False

Position

Named

Accepts pipeline input

False

-ResultVariablePrefix <String>

Prefix for the generated property variables of the application.

Required

False

Position

3

Accepts pipeline input

False

-PassThru <SwitchParameter>

Pass retrieved objects on to the pipeline.

Required

False

Position

Named

Accepts pipeline input

False

-ReturnProperties <String>

List of application properties to be retrieved.

Required

False

Position

4

Accepts pipeline input

False

-Context <String>

User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user.
UserPerService: User-related command, execution in Service context.
Computer: Execution under user account; logging in HKEY_CURRENT_MACHINE, i.e. for the computer.
ComputerPerService: Execution in service context; logging in HKEY_LOCAL_MACHINE, i.e. for the computer.

Required

False

Position

6

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".