The code for Console color.txt is: Get Foreground (text) colors: [enum]::GetValues([System.ConsoleColor]) | Foreach-Object {Write-Host $_ -ForegroundColor $_} Set Foreground (text) colors: $Host.UI.RawUI.ForegroundColor = 'White' Get BackgroundColor (text) colors: [enum]::GetValues([System.ConsoleColor]) | Foreach-Object {Write-Host $_ -BackgroundColor $_} Set BackgroundColor (screen background) colors: $Host.UI.RawUI.BackgroundColor = 'DarkMagenta' Other settings: $Host.UI.RawUI.BackgroundColor = ($BackgroundColor = 'DarkBlue') $Host.UI.RawUI.ForegroundColor = 'White' $Host.PrivateData.ErrorForegroundColor = 'Red' $Host.PrivateData.ErrorBackgroundColor = $BackgroundColor $Host.PrivateData.WarningForegroundColor = 'Magenta' $Host.PrivateData.WarningBackgroundColor = $BackgroundColor $Host.PrivateData.DebugForegroundColor = 'Yellow' $Host.PrivateData.DebugBackgroundColor = $BackgroundColor $Host.PrivateData.VerboseForegroundColor = 'Green' $Host.PrivateData.VerboseBackgroundColor = $BackgroundColor $Host.PrivateData.ProgressForegroundColor = 'Cyan' $Host.PrivateData.ProgressBackgroundColor = $BackgroundColor Clear-Host cls ISE only: $Host.PrivateData.ConsolePaneForegroundColor = "DarkCyan" $Host.PrivateData.ConsolePaneBackgroundColor= $bckgrnd $Host.PrivateData.ConsolePaneTextBackgroundColor= "Yellow"