Skip to content

Disable AnsiColor

github-actions edited this page May 1, 2026 · 1 revision

external help file: ModernConveniences-help.xml Module Name: ModernConveniences online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_ansi_terminals schema: 2.0.0

Disable-AnsiColor

SYNOPSIS

Disables ANSI terminal colors.

SYNTAX

Disable-AnsiColor [-HostOnly] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Disable-AnsiColor

Disables ANSI terminal colors.

PARAMETERS

-HostOnly

Disable colors only for text redirected to files.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ProgressAction

{{ Fill ProgressAction Description }}

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

RELATED LINKS

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

Clone this wiki locally