Disables ANSI terminal colors.
Disable-AnsiColor.ps1 [-HostOnly] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Disable-AnsiColor.ps1
Disables ANSI terminal colors.
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
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_ansi_terminals