Set-WinAcceptLanguageFromLanguageListOptOut
Sets the HTTP Accept Language from the Language List opt-out setting for the current user account.
Syntax
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.
Type: | Boolean |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈