Cmdlets for SuiteCRM

Build 25.0.9434

Remove-SuiteCRM Cmdlet

Parameters   Output Objects  

SuiteCRM データを削除します。

Syntax

Remove-SuiteCRM [parameters]

Remarks

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

$conn = Connect-SuiteCRM -URL 'http://mySuiteCRM.com' -User 'myUser' -Password 'myPassword'
Remove-SuiteCRM -Connection $conn -Table "Accounts" -Id "1"
Where パラメータは主キーを指定するためにも使われます。
Remove-SuiteCRM -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-SuiteCRM -Connection $conn -Table Accounts -Where "Industry = 'Manufacturing'" | Remove-SuiteCRM

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434