PowerShell Missionary original article 2016-06-20 permitted reprint, but must retain the name and provenance, otherwise investigate legal liability
---"Preface"---
1 Environment:
WIN10 10586 PowerShell 5.0 test passed
Win7 SP1 PowerShell 2.0 test passed
23# Display, resolution x 1080
2 The changes described below are limited to "shortcuts created by Yourself", and the system defaults to the default, even if it is wrong, it will not mess up the system default font definition = good! We can all use it with confidence.
3 This modification method applies to Cmd.exe.
4 This post is only for large screen display command line content is clearly written.
---"Contrast chart"---
---"Body"---
1 Download install Microsoft Yahei Mono font. or other fonts that you like.
ed2k://|file| msyhmono.ttf|14960568|164cf58dc10df33f4d5a97c3fff37e12|h=j46tepgga64oyamxl6vehulh2c2v23pn|/
2 Win10 Start menu right click "cmd" and "admin right cmd" is controlled here. The registry should be modified, see:
2.1 Incorrect modification---Although the font was added, the default value was changed. The following operation adds a font directly to Win7, but for WIN10 this operation changes the system default value. On the Internet, the value with an * number is the default value. In fact, it's wrong. corrected here. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Nt\currentversion\console\truetypefont
(REG_SZ) 0936 = Microsoft Yahei Mono
2.2 Correct modification. that is, 936 this key name, change to 0936, and then increase by 00936. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Nt\currentversion\console\truetypefont
(REG_SZ) 0936 = * New Arial <----change the key name 936 to 0936.
(REG_SZ) 00936 = Microsoft Yahei Mono <----increased Key name 00936, and key value.
2.3 Create a shortcut on the desktop.
%systemroot%\system32\windowspowershell\v1.0\powershell.exe
2.4 Property---> Font, restart the machine without the Microsoft Yahei Mono font. (normal not required) do not have to delete the old shortcut rebuild.
2.5 Select the Microsoft Yahei Mono font in the properties---> Font.
Recommended value 1: bold, size 28.
Recommended value 2: Size 30. Recommended.
Recommended value 3: Size 32. 27# display above, or high resolution.
2.6 Double click to run this shortcut, success!
3 The font of CMD in the Start menu is controlled by the definition in this shortcut.
C:\Users\ your user name \appdata\roaming\microsoft\windows\start menu\programs\system tools\command Prompt.lnk
4 the font of PowerShell in the Start menu is controlled by the definition in this shortcut.
C:\Users\ your user name \appdata\roaming\microsoft\windows\start menu\programs\windows powershell\windows PowerShell.lnk
---finished---
Modify the Chinese font for bold cmd and PowerShell command lines