Edit

Share via


Set-WinAcceptLanguageFromLanguageListOptOut

Sets the HTTP Accept Language from the Language List opt-out setting for the current user account.

Syntax

Default (Default)

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

Description

The Set-WinAcceptLanguageFromLanguageListOptOut cmdlet sets the HTTP Accept Language from the Language List opt-out setting for the current user account. By default, the HTTP Accept Language List is automatically generated from language list of the current user account. You can use this cmdlet to set the HTTP Accept Language from Language List opt-out value. When set to $True, this setting deletes the current content of the HTTP Accept Language registry key and prevents changes to the language list from reestablishing the key. When set to $False, this setting reestablishes the HTTP Accept Language List based on the language list for the current user account.

Examples

Example 1: Update the registry key

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

This cmdlet deletes the current content of the HTTP Accept Language registry key and blocks updates to the key based on changes to the language list of the user.

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.