Remove-Asana Cmdlet
Deletes Asana data.
Syntax
Remove-Asana [parameters]
Remarks
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 "exTablePowershell;" -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