scripts

Enable-AnsiColor.ps1

SYNOPSIS

Enables ANSI terminal colors.

SYNTAX

Enable-AnsiColor.ps1 [-HostOnly] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

Enable-AnsiColor.ps1

Enables ANSI terminal colors.

PARAMETERS

-HostOnly

Enable colors only for host console output.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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

https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_ansi_terminals