Edit

Share via


Set-WinUILanguageOverride

Sets the Windows UI language override setting for the current user account.

Syntax

Default (Default)

Set-WinUILanguageOverride
    [[-Language] <CultureInfo>]
    [<CommonParameters>]

Description

The Set-WinUILanguageOverride cmdlet sets a user-preferred display language to be used for the Windows user interface (UI). If no override setting is used, the display language is dynamically determined from the language list of the user. Log off and loging back on is required for changes to take place.

For more information, see the Get-WinUserLanguageList and Set-WinUserLanguageList cmdlets.

Examples

Example 1: Set a language override

PS C:\> Set-WinUILanguageOverride -Language de-DE

This command sets the Windows UI language override to German (Germany) for the current user account.

Example 2: Set a language override to null

PS C:\> Set-WinUILanguageOverride

This command sets the Windows UI language override to null for the current user account.

Parameters

-Language

Specifies a language.

Parameter properties

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

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
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

CultureInfo

You can pipe an object that contains the Windows UI language override for the current user account. For more information about the CultureInfo object, see CultureInfo Class.