Cmdlets for Basecamp

Build 20.0.7587

Remove-Basecamp Cmdlet

Parameters   Output Objects  

Deletes Basecamp data.


Remove-Basecamp [parameters]


The Remove-Basecamp cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Basecamp data.

$conn = Connect-Basecamp -AccountId '1234567' -ProjectId 'abcd1234' -Schema 'V3'
Remove-Basecamp -Connection $conn -Table "Projects" -Id "S"
The Where parameter can also be used to specify the primary key:
Remove-Basecamp -Connection $conn -Table "exTable;" -Where "Id = S"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Basecamp -Connection $conn -Table Projects -Where "Id = 'MyId'" | Remove-Basecamp

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