Cmdlets for Cvent

Build 24.0.9060

Remove-Cvent Cmdlet

Parameters   Output Objects  

Deletes Cvent data.

Syntax

Remove-Cvent [parameters]

Remarks

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

$conn = Connect-Cvent -InitiateOAuth "GETANDREFRESH" -OAuthClientId "MyOAuthClientId" -OAuthClientSecret "MyOAuthClientSecret"
Remove-Cvent -Connection $conn -Table "Events" -Id "cfd2c068-bdcb-4a01-8fad-280c3230a0f7"
The Where parameter can also be used to specify the primary key:
Remove-Cvent -Connection $conn -Table "exTablePowershell;" -Where "Id = cfd2c068-bdcb-4a01-8fad-280c3230a0f7"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Cvent -Connection $conn -Table Events -Where "Title = 'CDATA_EVENT'" | Remove-Cvent

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