PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Set-WindowsSearchSetting', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Modifies values that control Windows Search.


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

Search powershellhelp.space


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.



Online Version: http://go.microsoft.com/fwlink/?LinkID=294364




Example 1: Personalize Windows Search

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

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

Example 2: Modify Windows Search settings

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

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.