Cmdlets for FreshBooks

Build 20.0.7587

Remove-FreshBooks Cmdlet

Parameters   Output Objects  

Deletes FreshBooks data.

Syntax

Remove-FreshBooks [parameters]

Remarks

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

$conn = Connect-$psname; -CompanyName 'MyCompany' -Token 'MyToken'
Remove-FreshBooks -Connection $conn -Table "Clients" -Id "20050"
The Where parameter can also be used to specify the primary key:
Remove-FreshBooks -Connection $conn -Table "exTable;" -Where "Id = 20050"
The primary key can also be passed to the cmdlet along the pipeline:
Select-FreshBooks -Connection $conn -Table Clients -Where "Email = 'support@mycompany.com'" | Remove-FreshBooks

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587