Behind the PowerShell Pipeline logo

Behind the PowerShell Pipeline

Subscribe
Archives
August 15, 2023

More PowerShell ISE Automation Tricks

Last time I demonstrated how you can automate the Windows PowerShell ISE. If this is still your primary editor, you might as well get the most from it. Understanding the $psISE object model is a big part. You can use the model to configure the ISE from the command prompt. For example, I might want to change the colors of the script and console panels.

$psISE.Options.ScriptPaneBackgroundColor = "floralwhite"
$psise.Options.ConsolePaneBackgroundColor = "Black"

If I always want this setting, I can add these lines to the PowerShell ISE profile script.

Want to read the full issue?
GitHub Bluesky LinkedIn About Jeff
Powered by Buttondown, the easiest way to start and grow your newsletter.