Skip to content

Test-PodeIsIIS

SYNOPSIS

Returns whether or not the server is running via IIS.

SYNTAX

Test-PodeIsIIS [<CommonParameters>]

DESCRIPTION

Returns whether or not the server is running via IIS.

EXAMPLES

EXAMPLE 1

if (Test-PodeIsIIS) { }

PARAMETERS

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.

INPUTS

OUTPUTS

NOTES