Inside powershell when I am type some command it turns to yellow color which is not very visible to me, how can I change that color?

Or even better, use [console]::ForegroundColor = "Black". Also, there are other options, like:
C:\WINDOWS\system32> $host.privatedata
ErrorForegroundColor : Red
ErrorBackgroundColor : Black
WarningForegroundColor : Yellow
WarningBackgroundColor : Black
DebugForegroundColor : Yellow
DebugBackgroundColor : Black
VerboseForegroundColor : Yellow
VerboseBackgroundColor : Black
ProgressForegroundColor : Yellow
ProgressBackgroundColor : DarkCyan
C:\WINDOWS\system32> $host.ui.RawUI
ForegroundColor : Green
BackgroundColor : Black
CursorPosition : 0,64
WindowPosition : 0,18
CursorSize : 25
BufferSize : 120,3000
WindowSize : 120,50
MaxWindowSize : 120,88
MaxPhysicalWindowSize : 265,88
KeyAvailable : False
WindowTitle : Administrator: Windows PowerShell
Using these settings you can alter your profile so that everytime you launch Powershell they are applied. More on this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With