How to change the background color of the font in PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

To change the background color of the font, you can use the GUI and command line both.

With GUI − Colors → Screen Background.

CLI

$host.UI.RawUI.BackgroundColor = "DarkBlue"

You will notice that the background color of the text has been changed to DarkBlue.

raja
Updated on 14-Jul-2020 13:16:43

Advertisements