Share via


Get-WindowsSearchSetting

Get-WindowsSearchSetting

Gets the values of settings for Windows Search.

Syntaxe

Get-WindowsSearchSetting [ <CommonParameters>]

Description détaillée

The Get-WindowsSearchSettings cmdlet gets the values of settings for Windows Search. You can view settings for whether Windows Search displays web results or suggestions and whether to display web results and suggestions while using a metered network. You can view settings for whether Windows Search personalizes results, including whether Windows Search employs the specific location of the user. You can also see SafeSearch settings.

Paramètres

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • WindowsSearchSetting

    Returns the values of properties that control Windows Search:

    -- EnableMeteredWebResultsSetting. Whether Windows Search displays web results and suggestions while using a metered network.
    -- EnableWebResultsSetting. Whether Windows Search displays web results and suggestions.
    -- SearchExperienceSetting. The experience setting.
    -- WindowsSafeSearchSetting. The value of SafeSearch that Windows Search uses for queries.

    SearchExperienceSetting has the following possible values:

    -- 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.

    WindowsSafeSearchSetting has the following possible values:

    -- 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.

Exemples

Example 1: Get Windows Search settings

This command gets Windows Search settings. The console displays the values for the settings.

PS C:\> Get-WindowsSearchSetting

Rubriques connexes

Set-WindowsSearchSetting