Set-WinAcceptLanguageFromLanguageListOptOut

Set-WinAcceptLanguageFromLanguageListOptOut

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

Syntax

Parameter Set: Default
Set-WinAcceptLanguageFromLanguageListOptOut [-OptOut] <Boolean> [ <CommonParameters>]

Detailed 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 the current user account's language list. You can use the Set-WinAcceptLanguageFromLanguageListOptOut 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.

Parameters

-OptOut<Boolean>

Indicates whether to opt out from the Language List.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Set the HTTP Accept Language registry key

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

PS C:\> Set-WinAcceptLanguageFromLanguageListOptOut -OptOut 1

Get-WinAcceptLanguageFromLanguageListOptOut