Remove-SalesforcePardot Cmdlet
Deletes Salesforce Marketing Cloud Account Engagement data.
Syntax
Remove-SalesforcePardot [parameters]
Remarks
The Remove-SalesforcePardot cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Salesforce Marketing Cloud Account Engagement data.
$conn = Connect-SalesforcePardot -Schema SalesforcePardotV4 -User 'YourUsername' -Password 'YourPassword' -UserKey 'YourUserKey' Remove-SalesforcePardot -Connection $conn -Table "Prospects" -Id "600"The Where parameter can also be used to specify the primary key:
Remove-SalesforcePardot -Connection $conn -Table "exTablePowershell;" -Where "Id = 600"The primary key can also be passed to the cmdlet along the pipeline:
Select-SalesforcePardot -Connection $conn -Table Prospects -Where "ProspectAccountId = '703'" | Remove-SalesforcePardot