Export (0) Print
Expand All

Set-WindowsSearchSetting

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Set-WindowsSearchSetting

Modifies values that control Windows Search.

Syntax

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




Detailed Description

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.

Parameters

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

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.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-SafeSearchSetting<String>

Specifies a SafeSearch setting for Window Search. The acceptable values for this parameter are: 

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-SearchExperienceSetting<String>

Specifies a Windows Search experience setting. The acceptable values for this parameter are: 

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


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

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.

Examples

Example 1: Personalize Windows Search

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"

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft