An interesting link that I have found HERE. It allows you to change the fonts in your command prompt console or in powershell.

pritaeas commented: Useful... +0

Dani AI

Generated

and pointed to some useful old resources. Consoles have changed since 2011, so a short, practical update that works on modern Windows builds follows: what to use now, how the two console families differ, and quick troubleshooting steps.

Prefer Windows Terminal (and PowerShell Core) for current work. It reads installed fonts directly and lets you set a font per profile in settings.json. Example snippet to apply a font to all profiles:

{
  "profiles": {
    "defaults": {
      "fontFace": "Cascadia Code PL",
      "fontSize": 12
    }
  }
}

The legacy console host (cmd.exe and the classic PowerShell host) uses a small, registry-driven list of TrueType monospace fonts. The common steps: install the TrueType, monospaced font for all users, add its exact display name under the Console TrueTypeFont key at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont, and on 64-bit Windows add the equivalent under the Wow6432Node path if you need 32-bit console apps to see it. Close console windows (or sign out) after changes.

Troubleshooting: confirm the font is TrueType and fixed-width, use the font's exact display name in the registry, back up the registry before editing, and remember that Windows Terminal ignores the legacy registry entries (set fonts in Terminal instead). For unattended/background script runs, use Task Scheduler or a service-based approach rather than ad hoc GUI hacks.

Just in case you want to HIDE the PowerShell command console and/or your script check this PShellExec tool:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.