Remove-TableauCRM Cmdlet
Deletes Tableau CRM data.
Syntax
Remove-TableauCRM [parameters]
Remarks
The Remove-TableauCRM cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Tableau CRM data.
$conn = Connect-TableauCRM -OAuthClientId 'abc123' -OAuthClientSecret 'def456' -CallbackURL 'http://localhost:33333' Remove-TableauCRM -Connection $conn -Table "Dataset_Opportunity" -Id "25"The Where parameter can also be used to specify the primary key:
Remove-TableauCRM -Connection $conn -Table "exTablePowershell;" -Where "Id = 25"The primary key can also be passed to the cmdlet along the pipeline:
Select-TableauCRM -Connection $conn -Table Dataset_Opportunity -Where "StageName = 'Closed Won'" | Remove-TableauCRM