Created
April 23, 2018 22:08
-
-
Save billkindle/e211e7dcf60c6156f4f3cf3824b02bc1 to your computer and use it in GitHub Desktop.
Start a color blind friendly PowerShell console session.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Start-PresentationMode { | |
# change certain colors to be friendlier to those with color blindness | |
Write-Host -ForegroundColor Yellow "Changing ERROR foreground color from RED >>> BLUE" | |
$Host.PrivateData.ErrorForegroundColor = "Blue" | |
Write-Host -ForegroundColor Yellow "Ghanging ERROR backround color >>> WHITE" | |
$Host.PrivateData.ErrorBackgroundColor = "white" | |
# Could add more here based on what colors are preferred but this is a start. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment