Set-WindowsSearchSetting

Set-WindowsSearchSetting

Modifies values that control Windows Search.

構文

Parameter Set: EnableWebResultsSetting
Set-WindowsSearchSetting [-EnableMeteredWebResultsSetting <Boolean> ] [-EnableWebResultsSetting <Boolean> ] [-SafeSearchSetting <String> ] [-SearchExperienceSetting <String> ] [ <CommonParameters>]

詳細説明

The Set-WindowsSearchSetting cmdlet modifies values that control Windows Search. You can specify whether Windows Search displays web results or suggestions, and you can specify whether to display web results and suggestions while using a metered network. You can specify whether Windows Search personalizes results, including whether Windows Search employs the specific location of the user. You can also specify SafeSearch settings.

パラメーター

-EnableMeteredWebResultsSetting<Boolean>

Indicates whether Windows Search displays web results and suggestions while using metered connections. Specify a value of $True to display web results and suggestions over metered connections or a value of $False to exclude web results and suggestions.

Do not specify a value for this parameter if the value of the EnableWebResultsSetting parameter is $False.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByValue)

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

false

-EnableWebResultsSetting<Boolean>

Indicates whether Windows Search displays web results and suggestions. Specify a value of $True to display web results and suggestions or a value of $False to exclude web results and suggestions.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByValue)

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

false

-SafeSearchSetting<String>

Specifies a SafeSearch setting for Window Search. このパラメーターに対して使用できる値:

-- Off. Windows Search does not remove adult content from results.
-- Moderate. Windows Search excludes adult images and videos, but not text, from results.
-- Strict. Windows Search excludes adult images, videos, and text from results.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByValue)

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

false

-SearchExperienceSetting<String>

Specifies a Windows Search experience setting. このパラメーターに対して使用できる値:

-- PersonlizedAndLocation. Personalize Windows Search and other Microsoft experiences by using search history, some Microsoft account information, and specific location of the user.
-- Personalized. Personalize Windows Search and other Microsoft experiences by using search history and some Microsoft account information, but do not use specific location of the user.
-- NotPersonalized. Do not personalize Windows Search and other Microsoft experiences or use specific location of the user.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

True (ByValue)

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

false

<CommonParameters>

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

入力

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

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

This command allows Windows Search to use search history, but not specific location of the user, to personalize results.

PS C:\> Set-WindowsSearchSetting -SearchExperienceSetting "Personalized"

Example 2: Modify Windows Search settings

This command modifies Windows Search settings. The command enables the use of search history and specific location of the user by specifying a value of PersonlizedAndLocation for the SearchExperienceSetting parameter. The command enables web results and sets SafeSearch to a value of Strict.

PS C:\> Set-WindowsSearchSetting -EnableWebResultsSetting $True -SafeSearchSetting "Strict" -SearchExperienceSetting "PersonlizedAndLocation"

関連トピック

Get-WindowsSearchSetting