Cmdlets for Zoho Inventory

Build 23.0.8839

Remove-ZohoInventory Cmdlet

Parameters   Output Objects  

Zoho Inventory データを削除します。

Syntax

Remove-ZohoInventory [parameters]

Remarks

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

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

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