Remove-BigCommerce Cmdlet
Deletes BigCommerce data.
Syntax
Remove-BigCommerce [parameters]
Remarks
The Remove-BigCommerce cmdlet allows you to use a syntax similar to SQL DELETE statements to delete BigCommerce data.
$conn = Connect-BigCommerce -OAuthClientId -OAuthClientSecret -CallbackURL 'http://localhost:33333' -StoreId 'YoUrSToREId' Remove-BigCommerce -Connection $conn -Table "Customers" -Id "10002"The Where parameter can also be used to specify the primary key:
Remove-BigCommerce -Connection $conn -Table "exTablePowershell;" -Where "Id = 10002"The primary key can also be passed to the cmdlet along the pipeline:
Select-BigCommerce -Connection $conn -Table Customers -Where "Column2 = 'Bob'" | Remove-BigCommerce