Last active
June 21, 2019 12:11
-
-
Save fluttr/849dec8650ecad4c6a7c2a320f27b10b to your computer and use it in GitHub Desktop.
Set font properties for default and all saved Putty sessions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach($session in $(gci registry::hkcu\Software\SimonTatham\PuTTY\Sessions\).name){ | |
Set-ItemProperty -Path "registry::$session" -Name Font -Value "Terminus" | |
Set-ItemProperty -Path "registry::$session" -Name FontHeight -Value 0x0c # 12 | |
Set-ItemProperty -Path "registry::$session" -Name FontCharSet -Value 0xcc # cyrillic | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment