Adding More Fonts to PowerShell Console

by Mar 6, 2012

Tired of using the boring default fonts in PowerShell? There are more monospaced fonts on your system. You just need to allow the console to use them. Here’s how:

$key = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont'
Set-ItemProperty -Path $key -Name '0' -Value 'Lucida Console'
Set-ItemProperty -Path $key -Name '00' -Value 'Courier New'
Set-ItemProperty -Path $key -Name '000' -Value 'Consolas'
Set-ItemProperty -Path $key -Name '0000' -Value 'Lucida Sans Typewriter'
Set-ItemProperty -Path $key -Name '00000' -Value 'OCR A Extended'

Run this with Administrator privileges to add additional fonts to the console. Every new console you open now – including cmd.exe – can now select from these fonts. To select a font, right-click the icon in the console title bar and choose “Properties”, then click on the “Font” tab.

Twitter This Tip! ReTweet this Tip!