Remove-SAPHybrisC4C Cmdlet
Deletes SAP Cloud for Customer data.
Syntax
Remove-SAPHybrisC4C [parameters]
Remarks
The Remove-SAPHybrisC4C cmdlet allows you to use a syntax similar to SQL DELETE statements to delete SAP Cloud for Customer data.
$conn = Connect-SAPHybrisC4C -Tenant "mytenant.crm.ondemand.com" -User "User" -Password "Password" Remove-SAPHybrisC4C -Connection $conn -Table "AccountCollection" -Id "'00000000-0000-0000-0000-000000000000'"The Where parameter can also be used to specify the primary key:
Remove-SAPHybrisC4C -Connection $conn -Table "exTablePowershell;" -Where "ObjectID = '00000000-0000-0000-0000-000000000000'"The primary key can also be passed to the cmdlet along the pipeline:
Select-SAPHybrisC4C -Connection $conn -Table AccountCollection -Where "AccountName = 'MyAccount'" | Remove-SAPHybrisC4C