Cmdlets for Oracle Sales

Build 24.0.9060

Remove-OracleSalesCloud Cmdlet

Parameters   Output Objects  

Deletes Oracle Sales data.

Syntax

Remove-OracleSalesCloud [parameters]

Remarks

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

$conn = Connect-OracleSalesCloud -HostURL 'https://my.host.oraclecloud.com' -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 "exTablePowershell;" -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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060