Cmdlets for Oracle Service Cloud

Build 24.0.9060

Update-OracleServiceCloud Cmdlet

Parameters   Output Objects  

Updates Oracle Service Cloud data.

Syntax

Update-OracleServiceCloud [parameters]

Remarks

The Update-OracleServiceCloud cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Oracle Service Cloud data.

$conn = Connect-OracleServiceCloud
Update-OracleServiceCloud -Connection $conn -Table "Accounts" -Columns @("LookupName") -Values @("Jon Doe") -Id "6"
The Where parameter can also be used to specify the primary key of the table:
Update-OracleServiceCloud -Connection $conn -Table "Accounts" -Columns @("LookupName") -Values @("Jon Doe") -Where "Id = '6'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-OracleServiceCloud -Connection $conn -Table Accounts -Where "DisplayOrder = '12'" | Update-OracleServiceCloud -Columns @("DisplayOrder") -Values @("12 2")

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