Have you ever wondered how you can set the keyboard layout using PowerShell? I recently came across a situation where a set of virtual machines I deployed from a template had a different keyboard layout than what I intend to use. Fortunately, starting with Windows Server 2012 and Windows 8, there is a built-in cmdlet to do this.
Set-WinUserLanguageList -LanguageList en-US
The Get-WinUserLanguageList cmdlet gets the list of languages for the current user.