How do I set the PowerShell default font to Consolas?

Well, according to this question, PowerShell is started by a shortcut which a normal user can't modify (it was my case).

I right-clicked the shortcut, started PowerShell as administrator, and then changed the font. Afterwards, the Consolas font was effectively set as the default.


Practical tips (I've written some of them because it depends on how you launch PowerShell):

  1. If PowerShell is being launched by the Start → Run command, you may be able to edit the HKCU\Console\xxx key, where xxx is something like %systemroot%...powershell.exe. Just rename the key and test.

  2. If PowerShell is being launched by a shortcut (like when you pin an item to taskbar, or in Start Screen (Windows 8), you must edit the shortcut. To inherit default configuration, I'd recommend you to create another one, log in as administrator, move it to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Tools folder, delete the original shortcut, and rename yours. Then open it and pin into your taskbar if you want.

  3. If you don't have write access to the folder above, just create the shortcut in Desktop, for instance, and pin it. The effect is almost the same.


With PowerShell.exe Microsoft did not allow setting the font type through commands, otherwise you could add this to your profile. All you can do is what @surfasb mentioned by setting it through the window properties. If you are working with the ISE though, there are options to set the font by looking at $psISE.Options.