PowerShell: Get Windows Language(s)
Need to check which display language(s) Windows has installed - for confirming a localization setup or troubleshooting a language pack issue? This one-liner pulls it straight from the system.
Prerequisites:
- Privileges: None
- Module: Built-in, no import needed
Quick Command:
Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object MUILanguages
Example Output:
MUILanguages
------------
{en-US, cs-CZ}
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
How It Works:
- Get-CimInstance -ClassName Win32_OperatingSystem queries the operating system class, same as covered in earlier articles (build number, install date, architecture).
- MUILanguages returns an array of installed Multilingual User Interface (MUI) language packs - the language codes follow the standard format of language-region (e.g. en-US for English/United States, cs-CZ for Czech/Czech Republic).
- The first entry in the array is typically the primary display language currently in use, with any additional entries representing other installed language packs available to switch to.