powershell color issue windows 10


Recommended Posts

Somehow I have messed up my color scheme in powershell, and I have been using profiles for ages.

I am not sure how it ended this way, but I cannot seem to change the foreground color "color of the actual text written" to anything other than the now LightGreen with White background, and I am colorblind, so this is impossible for me to see.

Output:

[17:41:49][C:\Users\xx|40]# $host.UI.RawUI
ForegroundColor       : White
BackgroundColor       : Black
 

It looks like only the "command" part of a line get written in green, check the attached snip.

powershell_colorissue.thumb.JPG.41c1bb55

I only declare two things regarding colors right now in my profile, like:

$host.UI.RawUI.BackgroundColor = 'White'
$Host.UI.RawUI.ForegroundColor = "Black"

I can type one letter, which is green, then a space and the next will be the correct color. Weird!

I have already removed the "console" registry keys, which didn't do nothing.

Any advise would be appreciated (yes google/bing did not lead me to any solutions)

I really hope I am not being stupid ;)

Link to comment
Share on other sites

Untill there is a way to change to command highlight in powershell 5, i guess only solution is to use the dark scheme, so nevermind.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.