Cmdlets for Pipedrive

Build 25.0.9434

Remove-Pipedrive Cmdlet

Parameters   Output Objects  

Deletes Pipedrive data.

Syntax

Remove-Pipedrive [parameters]

Remarks

The Remove-Pipedrive cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Pipedrive data.

$conn = Connect-Pipedrive -AuthScheme "Basic" -CompanyDomain "MyCompanyDomain" -APIToken "MyAPIToken"
Remove-Pipedrive -Connection $conn -Table "Deals" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-Pipedrive -Connection $conn -Table "exTablePowershell;" -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'" | Remove-Pipedrive

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434