Get-MSIPatchSequence

Synopsis

Given a list of patches or patch XML, outputs the sequence of applicable patches for a product or products.

Syntax

Get-MSIPatchSequence [-Path] <string[]> [-PackagePath] <string[]> [<CommonParameters>]

Get-MSIPatchSequence [-PackagePath] <string[]> -LiteralPath <string[]> [<CommonParameters>]

Get-MSIPatchSequence [-ProductCode] <string[]> -LiteralPath <string[]> [-UserContext <UserContexts>] [-UserSid <string>] [<CommonParameters>]

Get-MSIPatchSequence [-Path] <string[]> [-ProductCode] <string[]> [-UserContext <UserContexts>] [-UserSid <string>] [<CommonParameters>]

Description

Patch packages or patch XML files can be specified along with a list of products. Each patch is added to a list and after all patches specified are processed, the sequence for all applicable patches is output for each product specified.

By default, the table format is used with a grouping for each product specified.

Parameters

-LiteralPath <string[]>

The path to a package to open. The value of -LiteralPath is used exactly as typed. No characters are interpreted as wildcards.

Required? true
Position named
Default value|
Accepts pipeline input? true (ByPropertyName)
Accept wildcard charactrs? false

-PackagePath <string[]>

The path to a product package or packages for which the patch sequence is returned.

Required? true
Position 1
Default value|
Accepts pipeline input? false
Accept wildcard charactrs? false

-Path <string[]>

The path to a package to open. Wildcards are permitted. You can specify * in any part of the path to select all matching files.

Required? true
Position 0
Default value|
Accepts pipeline input? true (ByValue, ByPropertyName)
Accept wildcard charactrs? true

-ProductCode <string[]>

The ProductCode or ProductCodes for products for which the patch sequence is returned.

Required? true
Position 1
Default value|
Accepts pipeline input? false
Accept wildcard charactrs? false

-UserContext <Microsoft.Deployment.WindowsInstaller.UserContexts>

The user context for the product listed in the ProductCode parameter.

Required? false
Position named
Default value|
Accepts pipeline input? false
Accept wildcard charactrs? false

-UserSid <String>

The user security identifier for product listed in the ProductCode parameter.

Required? false
Position named
Default value|
Accepts pipeline input? false
Accept wildcard charactrs? false

Outputs

  • Microsoft.Tools.WindowsInstaller.PatchSequence: The sequence information for each applicable patch to a product or product package.

Last edited Dec 26, 2014 at 6:30 AM by heaths, version 1

Comments

No comments yet.