Cmdlets for Highrise

Build 24.0.9060

Update-Highrise Cmdlet

Parameters   Output Objects  

Updates Highrise data.

Syntax

Update-Highrise [parameters]

Remarks

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

$conn = Connect-Highrise -OAuthClientId 'MyOAuthClientId' -OAuthClientSecret 'MyOAuthClientSecret' -CallbackURL 'http://localhost' -AccountId 'MyAccountId'
Update-Highrise -Connection $conn -Table "People" -Columns @("Firstname") -Values @("Jon") -Id "10000"
The Where parameter can also be used to specify the primary key of the table:
Update-Highrise -Connection $conn -Table "People" -Columns @("Firstname") -Values @("Jon") -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'" | Update-Highrise -Columns @("Id") -Values @("MyId 2")

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