Remove-AmazonMarketplace Cmdlet
Deletes Amazon Marketplace data.
Syntax
Remove-AmazonMarketplace [parameters]
Remarks
The Remove-AmazonMarketplace cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Amazon Marketplace data.
$conn = Connect-AmazonMarketplace -InitiateOAuth "GETANDREFRESH" -Marketplace "United States" Remove-AmazonMarketplace -Connection $conn -Table "Orders" -Id "6"The Where parameter can also be used to specify the primary key:
Remove-AmazonMarketplace -Connection $conn -Table "exTablePowershell;" -Where "Id = 6"The primary key can also be passed to the cmdlet along the pipeline:
Select-AmazonMarketplace -Connection $conn -Table Orders -Where "BuyerEmail = '[email protected]'" | Remove-AmazonMarketplace