Cmdlets for Google Search

Build 21.0.7930

CustomSearchId Parameter (Connect-GoogleSearch Cmdlet)

The Id of the Custom Search engine.

Syntax

Connect-GoogleSearch -CustomSearchId string

Data Type

cstr

Default Value

""

Remarks

The Id of the Custom Search engine. You can obtain an Id by logging into your Google account and creating a Custom Search engine. An APIKey is also required to connect.

Creating a Custom Search Engine

Follow the steps below to create a custom search engine and obtain the CustomSearchId value:

  1. Sign into the Google Custom Search Engine site.
  2. Click New Search Engine and add a site to focus the search on.
  3. Click Edit Seach Engine, select your search engine in the menu, and then click Setup.
  4. In the Details section, click Search Engine Id to retrieve the search engine Id used as the CustomSearchId in the connection string.
  5. In the Sites to Search section, you can additionally select the Search the Entire Web but Emphasize Included Sites option in the menu.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930