Update-VeevaVault Cmdlet
Updates Vault CRM data.
Syntax
Update-VeevaVault [parameters]
Remarks
The Update-VeevaVault cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Vault CRM data.
$conn = Connect-VeevaVault -Url "myURL" -User "myUser" -Password "myPassword"
Update-VeevaVault -Connection $conn -Table "Users" -Columns @("Name") -Values @("Jon Doe") -Id "8"
The Where parameter can also be used to specify the primary key of the table:
Update-VeevaVault -Connection $conn -Table "Users" -Columns @("Name") -Values @("Jon Doe") -Where "Id = '8'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-VeevaVault -Connection $conn -Table Users -Where "Name = 'Test'" | Update-VeevaVault -Columns @("Name") -Values @("Test 2")