Cmdlets for Act! CRM

Build 24.0.8963

Remove-ActCRM Cmdlet

Parameters   Output Objects  

Deletes Act! CRM data.

Syntax

Remove-ActCRM [parameters]

Remarks

The Remove-ActCRM cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Act! CRM data.

$conn = Connect-ActCRM -URL 'https://myActCRMserver.com' -User 'myUser' -Password 'myPassword' -ActDatabase 'MyActDB
Remove-ActCRM -Connection $conn -Table "Activities" -Id "1"
The Where parameter can also be used to specify the primary key:
Remove-ActCRM -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"
The primary key can also be passed to the cmdlet along the pipeline:
Select-ActCRM -Connection $conn -Table Activities -Where "FullName = 'Anna'" | Remove-ActCRM

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