< Back

Set-OMPConsoleColor

Sat Jan 18, 2020 5:44 pm

NAME Set-OMPConsoleColor



SYNOPSIS

Sets different console colors.





SYNTAX

Set-OMPConsoleColor [[-BackgroundColor] <Object>] [[-DebugBackgroundColor] <Object>] [[-VerboseBackgroundColor]

<Object>] [[-ProgressBackgroundColor] <Object>] [[-ForegroundColor] <Object>] [[-ErrorForegroundColor] <Object>]

[[-WarningForegroundColor] <Object>] [[-DebugForegroundColor] <Object>] [[-VerboseForegroundColor] <Object>]

[[-ProgressForegroundColor] <Object>] [[-ErrorBackgroundColor] <Object>] [[-WarningBackgroundColor] <Object>]

[<CommonParameters>]





DESCRIPTION

Sets different console colors. PSReadline will almost always overwrite this if it is loaded.





PARAMETERS

-BackgroundColor <Object>

Console background color



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ForegroundColor <Object>

Console foreground color



Required? false

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ErrorForegroundColor <Object>

Console Error foreground color



Required? false

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WarningForegroundColor <Object>

Console Warning foreground color



Required? false

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DebugForegroundColor <Object>

Console Debug foreground color



Required? false

Position? 5

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VerboseForegroundColor <Object>

Console Verbose foreground color



Required? false

Position? 6

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ProgressForegroundColor <Object>

Console Progress background color



Required? false

Position? 7

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ErrorBackgroundColor <Object>

Console Error background color



Required? false

Position? 8

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WarningBackgroundColor <Object>

Console Warning background color



Required? false

Position? 9

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DebugBackgroundColor <Object>

Console Debug background color



Required? false

Position? 10

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VerboseBackgroundColor <Object>

Console Verbose background color



Required? false

Position? 11

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ProgressBackgroundColor <Object>

Console Progress background color



Required? false

Position? 12

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Author: Zachary Loeber



-------------------------- EXAMPLE 1 --------------------------



TBD







RELATED LINKS

https://github.com/zloeber/OhMyPsh https://github.com/zloeber/OhMyPsh