Edit

Share via


Set-SystemPreferredUILanguage

Sets the provided language as the System Preferred UI Language.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:LanguageId, LanguageTag

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-PassThru

If specified, this parameter returns the bcp47 tag of the language upon successful configuration of the System Preferred UI Language.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

Void

String