Preparing your Powershell environment to run BEMCLI and scripts
Published 13 years ago
Version 1.0Was this article helpful?
Hi,
For those of you having difficulties (like me) reading error message in red on a black background, you could issue those commands so that to get black text on white background (along with error message in red):
(Get-Host).UI.RawUI.BackgroundColor="white"
(Get-Host).UI.RawUI.ForegroundColor="black"
(Get-Host).PrivateData.ErrorBackgroundColor="white"
(Get-Host).PrivateData.ErrorForegroundColor="Red"
cls
It is probably possible to enter them in a default configuration file but don't search for it!
Regards