Resolve PodeValue - mdaneri/Pode GitHub Wiki
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Utilities schema: 2.0.0
Resolves a query, and returns a value based on the response.
Resolve-PodeValue [-Check] <Boolean> [[-TrueValue] <Object>] [[-FalseValue] <Object>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Resolves a query, and returns a value based on the response.
$Port = Resolve-PodeValue -Check $AllowSsl -TrueValue 443 -FalseValue -80
The query, or variable, to evalulate.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThe value to use if evaluated to False.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe value to use if evaluated to True.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.