Cmdlets for QuickBooks POS

Build 23.0.8839

Update-QBPOS Cmdlet

Parameters   Output Objects  

Updates QuickBooks POS data.

Syntax

Update-QBPOS [parameters]

Remarks

The Update-QBPOS cmdlet allows you to use a syntax similar to SQL UPDATE statements to update QuickBooks POS data.

$conn = Connect-QBPOS -ApplicationName 'My PowerShell Script'
Update-QBPOS -Connection $conn -Table "Customers" -Columns @("LastName") -Values @("Smith") -Id "-1045625500155013667"
The Where parameter can also be used to specify the primary key of the table:
Update-QBPOS -Connection $conn -Table "Customers" -Columns @("LastName") -Values @("Smith") -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'" | Update-QBPOS -Columns @("LastName") -Values @("Cook 2")

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