Clear-KrEnvironmentOverride
SYNOPSIS
Clears any Kestrun environment override for the current PowerShell session.
SYNTAX
__AllParameterSets
Clear-KrEnvironmentOverride [-WhatIf] [-Confirm] [<CommonParameters>]
ALIASES
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION
Clears any Kestrun environment override for the current PowerShell session. This reverts Kestrun to use the default environment, which is ‘Production’ unless changed by the KESTRUN_ENVIRONMENT environment variable.
EXAMPLES
EXAMPLE 1
Clear-KrEnvironmentOverride Clears any Kestrun environment override, reverting to the default environment. This is useful for resetting the environment after running tests or examples.
PARAMETERS
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
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.
INPUTS
OUTPUTS
System.String
{{ Fill in the Description }}
NOTES
RELATED LINKS
{{ Fill in the related links here }}