Cmdlets for Asana

Build 20.0.7654

Remove-Asana Cmdlet

Parameters   Output Objects  

Deletes Asana data.


Remove-Asana [parameters]


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

$conn = Connect-Asana -InitiateoAuth "GETANDREFRESH" -OAuthClientId "YourClientId" -OAuthClientSecret "YourClientSecret" -CallbackURL "http://localhost:33333"
Remove-Asana -Connection $conn -Table "projects" -Id "1128092964672848"
The Where parameter can also be used to specify the primary key:
Remove-Asana -Connection $conn -Table "exTable;" -Where "Id = 1128092964672848"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Asana -Connection $conn -Table projects -Where "Archived = 'true'" | Remove-Asana

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654