Cmdlets for Kintone

Build 23.0.8839

Update-Kintone Cmdlet

Parameters   Output Objects  

Updates Kintone data.

Syntax

Update-Kintone [parameters]

Remarks

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

$conn = Connect-Kintone -User 'myuseraccount' -Password 'mypassword' -URL 'http://subdomain.domain.com' -GuestSpaceId 'myspaceid'
Update-Kintone -Connection $conn -Table "Comments" -Columns @("Text") -Values @("Old to do") -Id "123456"
The Where parameter can also be used to specify the primary key of the table:
Update-Kintone -Connection $conn -Table "Comments" -Columns @("Text") -Values @("Old to do") -Where "Id = '123456'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Kintone -Connection $conn -Table Comments -Where "AppId = '1354841'" | Update-Kintone -Columns @("AppId") -Values @("1354841 2")

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