Cmdlets for Twilio

Build 24.0.9060

Update-Twilio Cmdlet

Parameters   Output Objects  

Updates Twilio data.

Syntax

Update-Twilio [parameters]

Remarks

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

$conn = Connect-Twilio -AccountSid 'MyAccountSid' -AuthToken 'MyAuthToken'
Update-Twilio -Connection $conn -Table "Applications" -Columns @("Name") -Values @("MyApp1") -Id "AP5ddf534702934bd3a446d293e8cdeb1f"
The Where parameter can also be used to specify the primary key of the table:
Update-Twilio -Connection $conn -Table "Applications" -Columns @("Name") -Values @("MyApp1") -Where "Sid = 'AP5ddf534702934bd3a446d293e8cdeb1f'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Twilio -Connection $conn -Table Applications -Where "Sid = 'AP5ddf534702934bd3a446d293e8cdeb1f'" | Update-Twilio -Columns @("Sid") -Values @("AP5ddf534702934bd3a446d293e8cdeb1f 2")

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