Edit

Share via


Set-WinLanguageBarOption

Sets the language bar type and mode for the current user account.

Syntax

Default (Default)

Set-WinLanguageBarOption
    [-UseLegacySwitchMode]
    [-UseLegacyLanguageBar]
    [<CommonParameters>]

Description

The Set-WinLanguageBarOption cmdlet sets the language bar type and mode by using a LanguageBar object. The values for the type and mode settings can be either true or false. The default value for each setting is false.

Examples

Example 1: Set language bar options

PS C:\> Set-WinLanguageBarOption -UseLegacySwitchMode -UseLegacyLanguageBar

This command sets the language bar mode to the legacy setting and the language bar type to the per-thread setting.

Example 2: Set language bar options to default values

PS C:\> Set-WinLanguageBarOption

This command sets the language bar mode and the language bar type to the default setting.

Parameters

-UseLegacyLanguageBar

Indicates that this cmdlet sets the language bar mode to the legacy setting. If you do not specify this parameter, the cmdlet sets the language bar mode to the default setting.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UseLegacySwitchMode

Indicates that this cmdlet sets the language bar switch mode to the legacy or per-thread setting. If you do not specify this parameter, the cmdlet sets the language bar switch mode to the default or per-user setting.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
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.