Cmdlets for Salesloft

Build 23.0.8839

Remove-SalesLoft Cmdlet

Parameters   Output Objects  

Salesloft データを削除します。

Syntax

Remove-SalesLoft [parameters]

Remarks

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

$conn = Connect-SalesLoft -InitiateOAuth "GETANDREFRESH" -AuthScheme "OAuth" -OAuthClientID "MyOAuthClientId" -OAuthClientSecret "MyOAuthClientSecret" -CallbackURL "http://localhost:33333"
Remove-SalesLoft -Connection $conn -Table "Accounts" -Id "6"
Where パラメータは主キーを指定するためにも使われます。
Remove-SalesLoft -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-SalesLoft -Connection $conn -Table Accounts -Where "Name = 'Bob'" | Remove-SalesLoft

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