Cmdlets for Kintone

Build 23.0.8839

Remove-Kintone Cmdlet

Parameters   Output Objects  

Kintone データを削除します。

Syntax

Remove-Kintone [parameters]

Remarks

Remove-Kintone コマンドレットを使って、SQL DELETE ステートメントに似た構文を用いてKintone データを削除できます。

$conn = Connect-Kintone -User 'myuseraccount' -Password 'mypassword' -URL 'http://subdomain.domain.com' -GuestSpaceId 'myspaceid'
Remove-Kintone -Connection $conn -Table "Comments" -Id "123456"
Where パラメータは主キーを指定するためにも使われます。
Remove-Kintone -Connection $conn -Table "exTablePowershell;" -Where "Id = 123456"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-Kintone -Connection $conn -Table Comments -Where "AppId = '1354841'" | Remove-Kintone

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