Cmdlets for Basecamp

Build 20.0.7587

Invoke-Basecamp Cmdlet

Parameters   Output Objects  

Searches and updates Basecamp data.

Syntax

Invoke-Basecamp [parameters]

Remarks

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

$query = Invoke-Basecamp -Connection $connection -Query 'SELECT * FROM Projects WHERE Id=@Id' -Params @{'@Id'='MyId'}
This cmdlet is also useful for executing stored procedures. Use the EXEC keyword to call a stored procedure:
$query = Invoke-Basecamp -Connection $connection -Query 'EXEC RefreshOAuthAccessToken OAuthAccessToken = @OAuthAccessToken' -Params @{"OAuthAccessToken"}

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587