Cmdlets for QuickBooks POS

Build 23.0.8839

Remove-QBPOS Cmdlet

Parameters   Output Objects  

Deletes QuickBooks POS data.

Syntax

Remove-QBPOS [parameters]

Remarks

The Remove-QBPOS cmdlet allows you to use a syntax similar to SQL DELETE statements to delete QuickBooks POS data.

$conn = Connect-QBPOS -ApplicationName 'My PowerShell Script'
Remove-QBPOS -Connection $conn -Table "Customers" -Id "-1045625500155013667"
The Where parameter can also be used to specify the primary key:
Remove-QBPOS -Connection $conn -Table "exTablePowershell;" -Where "ListId = -1045625500155013667"
The primary key can also be passed to the cmdlet along the pipeline:
Select-QBPOS -Connection $conn -Table Customers -Where "LastName = 'Cook'" | Remove-QBPOS

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