Skip to content

Instantly share code, notes, and snippets.

@MovGP0
Created August 15, 2018 09:34
Show Gist options
  • Select an option

  • Save MovGP0/9226dc98e2b3bc81c640afd4c8be6c7a to your computer and use it in GitHub Desktop.

Select an option

Save MovGP0/9226dc98e2b3bc81c640afd4c8be6c7a to your computer and use it in GitHub Desktop.
Push-Location
Set-Location HKCU:\Console
New-Item ".\%SystemRoot%_system32_WindowsPowerShell_v1.0_powershell.exe"
Set-Location ".\%SystemRoot%_system32_WindowsPowerShell_v1.0_powershell.exe"
New-ItemProperty . FaceName -type STRING -value "Lucida Console"
New-ItemProperty . FontFamily -type DWORD -value 0x00000036
New-ItemProperty . FontSize -type DWORD -value 0x000c0000
New-ItemProperty . FontWeight -type DWORD -value 0x00000190
New-ItemProperty . HistoryNoDup -type DWORD -value 0x00000000
New-ItemProperty . QuickEdit -type DWORD -value 0x00000001
Pop-Location
Push-Location
Set-Location HKCU:\Console
New-Item '.\%SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe'
Set-Location '.\%SystemRoot%_SysWOW64_WindowsPowerShell_v1.0_powershell.exe'
New-ItemProperty . FaceName -type STRING -value "Lucida Console"
New-ItemProperty . FontFamily -type DWORD -value 0x00000036
New-ItemProperty . FontSize -type DWORD -value 0x000c0000
New-ItemProperty . FontWeight -type DWORD -value 0x00000190
New-ItemProperty . HistoryNoDup -type DWORD -value 0x00000000
New-ItemProperty . QuickEdit -type DWORD -value 0x00000001
Pop-Location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment