Set-WinUserLanguageList

Set-WinUserLanguageList

Sets the language list and associated properties for the current user account.

構文

Parameter Set: Default
Set-WinUserLanguageList [-LanguageList] <List<WinUserLanguage>> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-WinUserLanguageList cmdlet sets the current user language settings. These settings include input method, spelling setting, text prediction setting, and handwriting input mode. For more information, see CultureInfo Class and Configurable Language and Cultural Settings.

パラメーター

-Force

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-LanguageList<List<WinUserLanguage>>

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • List<WinUserLanguage>

    List<WinUserLanguage> is a list of WinUserLanguage objects that contain one or more languages and associated properties from the current user account’s language list. The language object contains the following properties:

         --BCP-47 (READ). A standard language tag that is used to identify languages. For more information, see the Internet Engineering Task Force (IETF) BCP 47 RFC.

         --Autonym (LP database) (READ). The name of the language in the language itself.

         --English name (LP database) (READ). The name of the language in English.

         --Localized name (LP database) (READ). The name of the language in the current Windows display language.

         --Script (LP database) (READ). The writing system of the language.

         --Input methods (READ/WRITE). A list of input method Tablet Input Panel (TIP) strings that are enabled for this language. The enabled input methods are listed in the format Language ID: Keyboard layout ID.

         --Handwriting recognition input mode (READ/WRITE). This value is either 0 (freehand) or 1 (write each character separately).

Example 1

This command adds the language French (France) to the user's language list.

PS C:\> $OldList = Get-WinUserLanguageList
PS C:\> $OldList.Add("fr-FR")
PS C:\> Set-WinUserLanguageList $OldList

Example 2

This command changes the handwriting setting for the language English (United States) in the user’s language list to ON (write each character separately).

PS C:\> $1 = New-WinUserLanguageList en-US
PS C:\>$1[0].Handwriting = 1
PS C:\> Set-WinUserLanguageList $1

関連トピック

Get-WinUserLanguageList

New-WinUserLanguageList