Change PowerShell ISE Colors To Match the Console

Powershell

Here’s a quick bit of code to change the color of PowerShell ISE’s output pane to match the colors used in the powershell.exe console:

$psise.Options.OutputPaneBackgroundColor = "#012456"
$psise.Options.OutputPaneTextBackgroundColor = "#012456"
$psise.Options.OutputPaneForegroundColor = "#eeedf0"

You can paste these lines into the editor pane and click the run botton to see how it looks. If you like it, add these lines to your ISE profile (notepad $profile) and restart ISE to save the changes.

image

Leave a Reply

Your email address will not be published.