Cmdlets for Highrise

Build 24.0.9060

Remove-Highrise Cmdlet

Parameters   Output Objects  

Deletes Highrise data.

Syntax

Remove-Highrise [parameters]

Remarks

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

$conn = Connect-Highrise -OAuthClientId 'MyOAuthClientId' -OAuthClientSecret 'MyOAuthClientSecret' -CallbackURL 'http://localhost' -AccountId 'MyAccountId'
Remove-Highrise -Connection $conn -Table "People" -Id "10000"
The Where parameter can also be used to specify the primary key:
Remove-Highrise -Connection $conn -Table "exTablePowershell;" -Where "Id = 10000"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Highrise -Connection $conn -Table People -Where "Id = 'MyId'" | Remove-Highrise

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