Cmdlets for Veeva Vault

Build 24.0.9060

Remove-VeevaVault Cmdlet

Parameters   Output Objects  

Deletes Veeva Vault data.

Syntax

Remove-VeevaVault [parameters]

Remarks

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

$conn = Connect-VeevaVault -Url "myURL" -User "myUser" -Password "myPassword"
Remove-VeevaVault -Connection $conn -Table "Documents" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-VeevaVault -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
The primary key can also be passed to the cmdlet along the pipeline:
Select-VeevaVault -Connection $conn -Table Documents -Where "Name = 'Test'" | Remove-VeevaVault

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