Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

A Spooky PowerShell Halloween

Posted on October 31, 2015October 31, 2020

I shared some code yesterday on Twitter and Facebook, but you may have missed it and I wanted to have a more permanent record so this is it. In the spirit of the holiday, I thought it would spooky to have a little fun with the PowerShell ISE.

Manage and Report Active Directory, Exchange and Microsoft 365 with
ManageEngine ADManager Plus - Download Free Trial

Exclusive offer on ADManager Plus for US and UK regions. Claim now!

A spooky Halloween theme for the ISEA spooky Halloween theme for the ISE (Image Credit: Jeff Hicks)

How did I get this? Well first, I recommend you save your existing settings. Run this command in the PowerShell ISE.

$psise.options | Select ConsolePane*,Font* | Export-CSV $home\Documents\SavedISEColors.csv

This will save current values for settings you are about to change to a CSV file. Then run these commands to change ISE options.

$psise.options.ConsolePaneBackgroundColor = "Black"
$psise.options.ConsolePaneTextBackgroundColor = "Black"
$psise.options.ConsolePaneForegroundColor = "DarkOrange"
$psise.options.FontName = "Chiller"
$psise.Options.FontSize = 14

Scary easy, right? These settings will remain even if you restart the PowerShell ISE. To restore your original settings and sanity you can import the saved CSV:

(import-csv $home\Documents\SavedISEColors.csv ).psobject.properties | foreach { $psise.options.$($_.name) = $_.Value}

Or go to Tools – Options – Manage Themes and select the default, or whatever you are using.

Restoring the ISE themeRestoring the ISE theme (Image Credit: Jeff Hicks)

Happy Trick or Treating!


Behind the PowerShell Pipeline

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

reports

Powered by Buttondown.

Join me on Mastodon

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2025 The Lonely Administrator | Powered by SuperbThemes!
%d