Cmdlets for Salesforce Marketing Cloud Account Engagement

Build 24.0.9060

Update-SalesforcePardot Cmdlet

Parameters   Output Objects  

Updates Salesforce Marketing Cloud Account Engagement data.

Syntax

Update-SalesforcePardot [parameters]

Remarks

The Update-SalesforcePardot cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Salesforce Marketing Cloud Account Engagement data.

$conn = Connect-SalesforcePardot -Schema SalesforcePardotV4 -User 'YourUsername' -Password 'YourPassword' -UserKey 'YourUserKey'
Update-SalesforcePardot -Connection $conn -Table "Prospects" -Columns @("Email") -Values @("Jon Doe") -Id "600"
The Where parameter can also be used to specify the primary key of the table:
Update-SalesforcePardot -Connection $conn -Table "Prospects" -Columns @("Email") -Values @("Jon Doe") -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'" | Update-SalesforcePardot -Columns @("ProspectAccountId") -Values @("703 2")

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