Cmdlets for Twitter

Build 24.0.9060

Update-Twitter Cmdlet

Parameters   Output Objects  

Updates Twitter data.

Syntax

Update-Twitter [parameters]

Remarks

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

$conn = Connect-Twitter
Update-Twitter -Connection $conn -Table "Tweets" -Columns @("Text") -Values @("My twitter message") -Id "123456789"
The Where parameter can also be used to specify the primary key of the table:
Update-Twitter -Connection $conn -Table "Tweets" -Columns @("Text") -Values @("My twitter message") -Where "Id = '123456789'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Twitter -Connection $conn -Table Tweets -Where "From_User_Name = 'twitter'" | Update-Twitter -Columns @("From_User_Name") -Values @("twitter 2")

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