Cmdlets for Oracle Sales Cloud

Build 20.0.7654

Remove-OracleSalesCloud Cmdlet

Parameters   Output Objects  

Deletes Oracle Sales Cloud data.


Remove-OracleSalesCloud [parameters]


The Remove-OracleSalesCloud cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Oracle Sales Cloud data.

$conn = Connect-OracleSalesCloud -HostURL '' -Username 'abc123' -Password 'abcdef'
Remove-OracleSalesCloud -Connection $conn -Table "Opportunities" -Id "300000002693011"
The Where parameter can also be used to specify the primary key:
Remove-OracleSalesCloud -Connection $conn -Table "exTable;" -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'" | Remove-OracleSalesCloud

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