# 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.

Published on 23-Jan-2020 08:04:14
Advertisements