Cmdlets for SAP Gateway

Build 24.0.9060

Remove-SAPGateway Cmdlet

Parameters   Output Objects  

Deletes SAP Gateway data.

Syntax

Remove-SAPGateway [parameters]

Remarks

The Remove-SAPGateway cmdlet allows you to use a syntax similar to SQL DELETE statements to delete SAP Gateway data.

$conn = Connect-SAPGateway -User "username" -Password "password" -URL "https://sapes5.sapdevcenter.com/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/"
Remove-SAPGateway -Connection $conn -Table "SampleTable_1" -Id "6"
The Where parameter can also be used to specify the primary key:
Remove-SAPGateway -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"
The primary key can also be passed to the cmdlet along the pipeline:
Select-SAPGateway -Connection $conn -Table SampleTable_1 -Where "Column2 = 'Bob'" | Remove-SAPGateway

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