Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.