Cmdlets for Trello

Build 24.0.9060

Update-Trello Cmdlet

Parameters   Output Objects  

Updates Trello data.

Syntax

Update-Trello [parameters]

Remarks

The Update-Trello cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Trello data.

$conn = Connect-Trello -APIKey "myApiKey" -Token="myGeneratedToken"
Update-Trello -Connection $conn -Table "Cards" -Columns @("ListId") -Values @("Jon Doe") -Id "5835594ee009411c6abdbfbd"
The Where parameter can also be used to specify the primary key of the table:
Update-Trello -Connection $conn -Table "Cards" -Columns @("ListId") -Values @("Jon Doe") -Where "CardId = '5835594ee009411c6abdbfbd'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Trello -Connection $conn -Table Cards -Where "CardId = '614060b2c37da423f30dc7d6'" | Update-Trello -Columns @("CardId") -Values @("614060b2c37da423f30dc7d6 2")

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060