Cmdlets for SAP Cloud for Customer

Build 24.0.9060

Remove-SAPHybrisC4C Cmdlet

Parameters   Output Objects  

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

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060