Skip to content

Instantly share code, notes, and snippets.

@fluttr
Last active June 21, 2019 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fluttr/849dec8650ecad4c6a7c2a320f27b10b to your computer and use it in GitHub Desktop.
Save fluttr/849dec8650ecad4c6a7c2a320f27b10b to your computer and use it in GitHub Desktop.
Set font properties for default and all saved Putty sessions
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