Remove-OracleSalesCloud Cmdlet
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