Edit

Share via


Set-WinCultureFromLanguageListOptOut

Sets the Culture from language list opt out setting for the current user account.

Syntax

Default (Default)

Set-WinCultureFromLanguageListOptOut
    [-OptOut] <Boolean>
    [<CommonParameters>]

Description

The Set-WinCultureFromLanguageListOptOut cmdlet sets the Culture, or User Locale, opt-out setting for the current user account. Setting this option to $True disables the action of dynamically setting the Culture for the current user based on changes to the Windows display language. Setting this option to $False activates the dynamic setting behavior. The default setting is $False.

Examples

Example 1: Block dynamic setting

PS C:\> Set-WinCultureFromLanguageListOptOut -OptOut $True

This command blocks the dynamic setting behavior.

Parameters

-OptOut

Specifies the opt-out value.

Parameter properties

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

Parameter sets

(All)
Position:0
Mandatory:True
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.