Editar

Compartir a través de


Set-WinUILanguageOverride

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

Syntax

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.

Type:CultureInfo
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

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.