Cmdlets for Act-On

Build 24.0.9060

Remove-ActOn Cmdlet

Parameters   Output Objects  

Deletes Act-On data.

Syntax

Remove-ActOn [parameters]

Remarks

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

$conn = Connect-ActOn -OAuthClientId 'MyOAuthClientId' -OAuthClientSecret 'MyOAuthClientSecret' -CallbackURL 'http://localhost:80'
Remove-ActOn -Connection $conn -Table "Images" -Id "123456"
The Where parameter can also be used to specify the primary key:
Remove-ActOn -Connection $conn -Table "exTablePowershell;" -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'" | Remove-ActOn

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