How to change font on PowerShell

Question:

How do I change the font for PowerShell?

There are only a few kind of fonts in PowerShell Preference.

Is there a way to choose more fonts?

Answer:

When you launch Powershell.exe, client server runtime sub-system(csrss.exe) spawns a child process called conhost.exe.

You can try this the harder way to deal with the font:

Apart from that, there is a SetConsoleFont module available for PowerShell.

The cmdlet for setting it is:

You can check 4SysOps for reference.

A few exports are there under kernel32.dll that can change the font also.

Source:

How to change font on PowerShell by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply