Execute-MSP
SYNOPSISโ
Reads SummaryInfo targeted product codes in MSP file and determines if the MSP file applies to any installed products If a valid installed product is found, triggers the Execute-MSI function to patch the installation. Uses default config MSI parameters. You can use -AddParameters to add additional parameters.
SYNTAXโ
Execute-MSP [-Path] <String> [[-AddParameters] <String>] [<CommonParameters>]
DESCRIPTIONโ
{{ Fill in the Description }}
EXAMPLESโ
EXAMPLE 1โ
Execute-MSP -Path 'Adobe_Reader_11.0.3_EN.msp'
EXAMPLE 2โ
Execute-MSP -Path 'AcroRdr2017Upd1701130143_MUI.msp' -AddParameters 'ALLUSERS=1'
PARAMETERSโ
-Pathโ
Path to the msp file
Type: String
Parameter Sets: (All)
Aliases: FilePath
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AddParametersโ
Additional parameters
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParametersโ
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.