get-consoleFont, set-consoleFontSize and set-consoleFontName of the PowerShell module console are essentially wrappers for the WinAPI function GetCurrentConsoleFontEx and SetCurrentConsoleFontEx). $font = get-consoleFont $font.size.X $font.size.Y
set-consoleFontSize 7 14
set-consoleFontName 'Courier New' # or Consolas or …