Cmdlets for Zoho Inventory

Build 24.0.8963

Remove-ZohoInventory Cmdlet

Parameters   Output Objects  

Deletes Zoho Inventory data.

Syntax

Remove-ZohoInventory [parameters]

Remarks

The Remove-ZohoInventory cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Zoho Inventory data.

$conn = Connect-ZohoInventory -InitiateOAuth "GETANDREFRESH" -OrganizationId "YourOrganizationId"
Remove-ZohoInventory -Connection $conn -Table "Contacts" -Id "3449524000000101001"
The Where parameter can also be used to specify the primary key:
Remove-ZohoInventory -Connection $conn -Table "exTablePowershell;" -Where "Id = 3449524000000101001"
The primary key can also be passed to the cmdlet along the pipeline:
Select-ZohoInventory -Connection $conn -Table Contacts -Where "FirstName = 'Test'" | Remove-ZohoInventory

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