< Back

Get-MSIPatchSequence

Sat Jan 18, 2020 4:44 pm

NAME 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 [-PackagePath] <String[]> [-ProductCode] <String[]> -LiteralPath <String[]> [-UserContext

<UserContexts>] [-UserSid <String>] [<CommonParameters>]



Get-MSIPatchSequence [-Path] <String[]> [-PackagePath] <String[]> -LiteralPath <String[]> [<CommonParameters>]



Get-MSIPatchSequence [-Path] <String[]> [-ProductCode] <String[]> -LiteralPath <String[]> [-UserContext

<UserContexts>] [-UserSid <String>] [<CommonParameters>]



Get-MSIPatchSequence [-Path] <String[]> [-PackagePath] <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 None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-PackagePath <String[]>

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



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? 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 None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? true



-ProductCode <String[]>

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



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-UserContext <UserContexts>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-UserSid <String>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Microsoft.Tools.WindowsInstaller.PatchSequence







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> {{ Add example code here }}



{{ Add example description here }}



RELATED LINKS