Cmdlets for HubSpot

Build 23.0.8839

Remove-HubSpot Cmdlet

Parameters   Output Objects  

HubSpot データを削除します。

Syntax

Remove-HubSpot [parameters]

Remarks

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

$conn = Connect-HubSpot
Remove-HubSpot -Connection $conn -Table "Contacts" -Id "123456789"
Where パラメータは主キーを指定するためにも使われます。
Remove-HubSpot -Connection $conn -Table "exTablePowershell;" -Where "Id = 123456789"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-HubSpot -Connection $conn -Table Contacts -Where "VID = '123456789'" | Remove-HubSpot

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