Update-ActOn Cmdlet
Updates Act-On data.
Syntax
Update-ActOn [parameters]
Remarks
The Update-ActOn cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Act-On data.
$conn = Connect-ActOn -OAuthClientId 'MyOAuthClientId' -OAuthClientSecret 'MyOAuthClientSecret' -CallbackURL 'http://localhost:80' Update-ActOn -Connection $conn -Table "Images" -Columns @("Name") -Values @("myImage") -Id "123456"The Where parameter can also be used to specify the primary key of the table:
Update-ActOn -Connection $conn -Table "Images" -Columns @("Name") -Values @("myImage") -Where "Id = '123456'"The primary key can also be passed to the cmdlet along the pipeline:
Select-ActOn -Connection $conn -Table Images -Where "FolderName = 'New Folder'" | Update-ActOn -Columns @("FolderName") -Values @("New Folder 2")