Windows: Languagepack Management with powershell

Hi,

great news 🙂 . Since Windows 11 22H2 a new powershell module is available for dealing with language packs.

Here

PS D:\> get-command -Module LanguagePackManagement

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           Get-Language                                       1.0        LanguagePackManagement
Alias           Get-PreferredLanguage                              1.0        LanguagePackManagement
Alias           Get-SystemLanguage                                 1.0        LanguagePackManagement
Alias           Set-PreferredLanguage                              1.0        LanguagePackManagement
Alias           Set-SystemLanguage                                 1.0        LanguagePackManagement
Cmdlet          Get-InstalledLanguage                              1.0        LanguagePackManagement
Cmdlet          Get-SystemPreferredUILanguage                      1.0        LanguagePackManagement
Cmdlet          Install-Language                                   1.0        LanguagePackManagement
Cmdlet          Set-SystemPreferredUILanguage                      1.0        LanguagePackManagement
Cmdlet          Uninstall-Language                                 1.0        LanguagePackManagement

Get a list of all installed languages

PS D:\> Get-InstalledLanguage

Language Language Packs  Language Features
-------- --------------  -----------------
de-DE    LpCab, LXP      BasicTyping, Handwriting, Speech, TextToSpeech, OCR
en-US    LpCab           BasicTyping, Handwriting, Speech, TextToSpeech, OCR

The offline way is to install install a language pack is to download DVD and install these packages:

PS D:\> Dism /Online /Add-Package /PackagePath:D:\LanguagesAndOptionalFeatures\Microsoft-Windows-Client-Language-Pack_x64_de-de.cab
PS D:\> Dism /Online /Add-Capability /capabilityname:Language.Basic~~~de-de~0.0.1.0 /source:D:\LanguagesAndOptionalFeatures
PS D:\> Dism /Online /Add-Capability /capabilityname:Language.Handwriting~~~de-de~0.0.1.0 /source:D:\LanguagesAndOptionalFeatures
PS D:\> Dism /Online /Add-Capability /capabilityname:Language.OCR~~~de-de~0.0.1.0 /source:D:\LanguagesAndOptionalFeatures
PS D:\> Dism /Online /Add-Capability /capabilityname:Language.Speech~~~de-de~0.0.1.0 /source:D:\LanguagesAndOptionalFeatures
PS D:\> Dism /Online /Add-Capability /capabilityname:Language.TextToSpeech~~~de-de~0.0.1.0 /source:D:\LanguagesAndOptionalFeatures

Importend: After installing a langauge pack install the latest windows updates to the get a fully language support.

See also Windows: Change System and User language

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.