Get-KrEnvironment

SYNOPSIS

Gets the current Kestrun environment for the PowerShell session.

SYNTAX

Get-KrEnvironment [<CommonParameters>]

DESCRIPTION

Gets the current Kestrun environment for the PowerShell session. This reflects how Kestrun behaves, for example in terms of error handling and logging.

EXAMPLES

EXAMPLE 1

Get-KrEnvironment
Returns the current Kestrun environment, e.g. 'Development'.
This reflects how Kestrun behaves, for example in terms of error handling and logging.

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