Cmdlets for QuickBooks Time

Build 24.0.8963

Remove-TSheets Cmdlet

Parameters   Output Objects  

Deletes QuickBooks Time data.

Syntax

Remove-TSheets [parameters]

Remarks

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

$conn = Connect-TSheets -OAuthClientId "MyOAuthClientId" -OAuthClientSecret "MyClientSecret" -CallbackURL "MyCallbackURL"
Remove-TSheets -Connection $conn -Table "Timesheets" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-TSheets -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
The primary key can also be passed to the cmdlet along the pipeline:
Select-TSheets -Connection $conn -Table Timesheets -Where "JobCodeType = 'regular'" | Remove-TSheets

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