Cmdlets for Salesforce Marketing Cloud Account Engagement

Build 24.0.9060

Remove-SalesforcePardot Cmdlet

Parameters   Output Objects  

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

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