Get-WindowsSearchSetting

Get-WindowsSearchSetting

Gets the values of settings for Windows Search.

Syntax

Get-WindowsSearchSetting [ <CommonParameters>]

Detailed Description

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.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

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

Examples

Example 1: Get Windows Search settings

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

PS C:\> Get-WindowsSearchSetting

Set-WindowsSearchSetting