Cmdlets for Highrise

Build 23.0.8839

Remove-Highrise Cmdlet

Parameters   Output Objects  

Highrise データを削除します。

Syntax

Remove-Highrise [parameters]

Remarks

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

$conn = Connect-Highrise -OAuthClientId 'MyOAuthClientId' -OAuthClientSecret 'MyOAuthClientSecret' -CallbackURL 'http://localhost' -AccountId 'MyAccountId'
Remove-Highrise -Connection $conn -Table "People" -Id "10000"
Where パラメータは主キーを指定するためにも使われます。
Remove-Highrise -Connection $conn -Table "exTablePowershell;" -Where "Id = 10000"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-Highrise -Connection $conn -Table People -Where "Id = 'MyId'" | Remove-Highrise

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