Remove-AdobeCommerce Cmdlet
Deletes AdobeCommerce data.
Syntax
Remove-AdobeCommerce [parameters]
Remarks
The Remove-AdobeCommerce cmdlet allows you to use a syntax similar to SQL DELETE statements to delete AdobeCommerce data.
$conn = Connect-AdobeCommerce -User 'admin' -Password 'admin' -Url 'https://myadobecommercehost' Remove-AdobeCommerce -Connection $conn -Table "Products" -Id "25"The Where parameter can also be used to specify the primary key:
Remove-AdobeCommerce -Connection $conn -Table "exTablePowershell;" -Where "EntityId = 25"The primary key can also be passed to the cmdlet along the pipeline:
Select-AdobeCommerce -Connection $conn -Table Products -Where "EntityId = '238'" | Remove-AdobeCommerce