Set-SystemPreferredUILanguage
Sets the provided language as the System Preferred UI Language.
Syntax
Set-SystemPreferredUILanguage
[-Language] <String>
[-PassThru]
[<CommonParameters>]
Description
Sets the provided language as the System Preferred UI Language.
After a language is set as the System Preferred UI Language, you have to restart the device or login again for changes to take effect. Additional accounts created after setting the System Preferred UI Langauge will be configured to use the new language.
Examples
Example 1: Set the System Preferred UI Language on a Windows installation
Set-SystemPreferredUILanguage ja-JP
This command sets the System Preferred UI Language to Japanese.
Parameters
-Language
The bcp47 tag of the language to set as the System Preferred UI Language.
Type: | String |
Aliases: | LanguageId, LanguageTag |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PassThru
If specified, this parameter returns the bcp47 tag of the language upon successful configuration of the System Preferred UI Language.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |