Update-OracleSalesCloud Cmdlet
Updates Oracle Sales data.
Syntax
Update-OracleSalesCloud [parameters]
Remarks
The Update-OracleSalesCloud cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Oracle Sales data.
$conn = Connect-OracleSalesCloud -HostURL 'https://my.host.oraclecloud.com' -Username 'abc123' -Password 'abcdef' Update-OracleSalesCloud -Connection $conn -Table "Opportunities" -Columns @("Name") -Values @("Commercial Oppty") -Id "300000002693011"The Where parameter can also be used to specify the primary key of the table:
Update-OracleSalesCloud -Connection $conn -Table "Opportunities" -Columns @("Name") -Values @("Commercial Oppty") -Where "Id = '300000002693011'"The primary key can also be passed to the cmdlet along the pipeline:
Select-OracleSalesCloud -Connection $conn -Table Opportunities -Where "CreatedBy = 'Jack'" | Update-OracleSalesCloud -Columns @("CreatedBy") -Values @("Jack 2")