Update-Pipedrive Cmdlet
Updates Pipedrive data.
Syntax
Update-Pipedrive [parameters]
Remarks
The Update-Pipedrive cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Pipedrive data.
$conn = Connect-Pipedrive -AuthScheme "Basic" -CompanyDomain "MyCompanyDomain" -APIToken "MyAPIToken"
Update-Pipedrive -Connection $conn -Table "Deals" -Columns @("UserEmail") -Values @("Jon Doe") -Id "6"
The Where parameter can also be used to specify the primary key of the table:
Update-Pipedrive -Connection $conn -Table "Deals" -Columns @("UserEmail") -Values @("Jon Doe") -Where "Id = '6'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Pipedrive -Connection $conn -Table Deals -Where "UserName = 'Bob'" | Update-Pipedrive -Columns @("UserName") -Values @("Bob 2")