Cmdlets for Google Search

Build 21.0.7930

Invoke-GoogleSearch Cmdlet

Parameters   Output Objects  

Searches and updates Google Search data.


Invoke-GoogleSearch [parameters]


The Invoke-GoogleSearch cmdlet allows you to use SQL statements to execute any SQL statement directly. Below is the syntax for a parameterized query:

$query = Invoke-GoogleSearch -Connection $connection -Query 'SELECT * FROM WebSearch WHERE SearchTerms=@SearchTerms' -Params @{'@SearchTerms'='Fantastic Four'}
This cmdlet is also useful for executing stored procedures. Use the EXEC keyword to call a stored procedure:
$query = Invoke-GoogleSearch -Connection $connection -Query 'EXEC SelectEntries ObjectName = @ObjectName' -Params @{"Account"}

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