Remove-Ebay Cmdlet
Deletes eBay data.
Syntax
Remove-Ebay [parameters]
Remarks
The Remove-Ebay cmdlet allows you to use a syntax similar to SQL DELETE statements to delete eBay data.
$conn = Connect-Ebay -DevID 'MyDevID' -OAuthClientId 'MyAppID' -OAuthClientSecret 'MyCertID' -RuName 'MyRuName' -SiteID 0 Remove-Ebay -Connection $conn -Table "ItemListing" -Id "Jq74mCczmFXk1tC10GB"The Where parameter can also be used to specify the primary key:
Remove-Ebay -Connection $conn -Table "exTablePowershell;" -Where "ItemId = Jq74mCczmFXk1tC10GB"The primary key can also be passed to the cmdlet along the pipeline:
Select-Ebay -Connection $conn -Table ItemListing -Where "AdminEndedItemsOnly = 'true'" | Remove-Ebay