Lets you install fonts temporarily for use, and configure the current console font. You can also list available (monospaced) fonts.
NOTE: This is for the legacy Windows Console Host (conhost.exe). See also my EzTheme module Theme.WindowsConsole for controlling the colors.
Install-Module WindowsConsoleFontsYou can then Import-Module WindowsConsoleFonts and Get-Command -Module WindowsConsoleFonts and there are examples in Get-Help -Examples ... for each command.
Add-Font .FuraCode.ttfAdd-Font allows non-administrator users to install fonts temporarily. This lasts until the user logs out or reboots.
To have the font stay installed even after restarting the system, the font must be copied to ${Env:windir}fonts and listed in the registry in HKLM:SOFTWAREMicrosoftWindows NTCurrentVersionFonts -- which requires elevation.
Set-ConsoleFont FiraCode -Size 18Set-ConsoleFont automatically supports partial matches, so you can say "Lucida" for "Lucida Console" or "Fira" for "FiraCode Nerd Font Mono" etc. Because of this, it has a -Passthru parameter so you can see which font it selected.
Add-Font doesn't make the font show up in Get-ConsoleFont (or Tab completion) until you open a new window. You can use it in Set-ConsoleFont, but only if you know the name...