Next time you find yourself with a PowerShell console that uses the wrong keyboard layout, keep your fingers off the mouse! Do it with PowerShell (provided you use Windows 8.1/Server 2012 R2 or better):
PS> # turn to English layout PS> Set-WinUserLanguageList -LanguageList en-us -Force PS> # turn to German layout PS> Set-WinUserLanguageList -LanguageList de-de -Force