Cmdlets for Google Search

Build 21.0.7930

APIKey Parameter (Connect-GoogleSearch Cmdlet)

Your key for the Custom Search API.

Syntax

Connect-GoogleSearch -APIKey string

Data Type

cstr

Default Value

""

Remarks

Your key for the Custom Search API. This API must be enabled in the Google API Console. Follow the steps below to obtain an API key. Note that you also need to set the CustomSearchId to connect.

Getting the API Key

To authenticate requests to the Custom Search API, follow the steps below:

  1. Log into the Google API console and select a project.
  2. In the side bar under APIs & Services, click Library and then select the Custom Search API. Click Enable.
  3. In the side bar, click APIs & Services -> Credentials.
  4. Click Create Credentials -> API Key.
  5. Select the API Key to restrict the key to your platform.

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