Cmdlets for Domino

Build 24.0.9060

Update-Domino Cmdlet

Parameters   Output Objects  

Updates Domino data.

Syntax

Update-Domino [parameters]

Remarks

The Update-Domino cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Domino data.

$conn = Connect-Domino -URL "http://dominoserver:3002/" -DataSource "names" -TableTypes "Tables" -AuthScheme "OAuthPassword" -User "MyUser" -Password "MyPassword"
Update-Domino -Connection $conn -Table "Person" -Columns @("FirstName") -Values @("Jon Doe") -Id "1"
The Where parameter can also be used to specify the primary key of the table:
Update-Domino -Connection $conn -Table "Person" -Columns @("FirstName") -Values @("Jon Doe") -Where "Id = '1'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Domino -Connection $conn -Table Person -Where "City = 'Miami'" | Update-Domino -Columns @("City") -Values @("Miami 2")

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