< Back

Resolve-PodeValue

Sat Jan 18, 2020 7:18 pm

NAME Resolve-PodeValue



SYNOPSIS

Resolves a query, and returns a value based on the response.





SYNTAX

Resolve-PodeValue [-Check] <Boolean> [[-TrueValue] <Object>] [[-FalseValue] <Object>] [<CommonParameters>]





DESCRIPTION

Resolves a query, and returns a value based on the response.





PARAMETERS

-Check <Boolean>

The query, or variable, to evalulate.



Required? true

Position? 1

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TrueValue <Object>

The value to use if evaluated to True.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-FalseValue <Object>

The value to use if evaluated to False.



Required? false

Position? 3

Default value

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

System.Object





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$Port = Resolve-PodeValue -Check $AllowSsl -TrueValue 443 -FalseValue -80















RELATED LINKS