I can change console background color by script:
$host.UI.RawUI.BackgroundColor = "Black"
but in this case I'm limited to preset number of defined colors and unfortunately one I'm looking for is not here. There is option to pick color from console GUI (right click on top Windows PowerShell bar->properties->Colors). Unfortunately (again) only BackGroundColor and ForeGroundColor can be changed there, no way to change one of $host.privatedata colors there.
Is there possibility to put hex coded color via script somehow?
there is a registry hack here : http://stackingcode.com/blog/2011/11/14/zenburn-powershell
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