Exit-PpPackageCancelled
Exit-PpPackageCancelledPermalink
SYNOPSISPermalink
Set error code that the package is cancelled.
SYNTAXPermalink
__AllParameterSetsPermalink
Exit-PpPackageCancelled [[-ExitMessage] <string>] [<CommonParameters>]
ALIASESPermalink
This cmdlet has the following aliases,
DESCRIPTIONPermalink
Uses the Exit-PpScript that comes from PSlib.psm1, to set the package error.
EXAMPLESPermalink
EXAMPLE 1Permalink
Exit-PpPackageCancelled
EXAMPLE 2Permalink
Exit-PpPackageCancelled -ExitMessage ‘Test where I set ExitMessage’
PARAMETERSPermalink
-ExitMessagePermalink
Type: System.String
DefaultValue: ''
SupportsWildcards: false
ParameterValue: []
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParametersPermalink
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTSPermalink
OUTPUTSPermalink
NOTESPermalink
Custom command.