Cmdlets for Mailchimp

Build 23.0.8839

Remove-MailChimp Cmdlet

Parameters   Output Objects  

Mailchimp データを削除します。

Syntax

Remove-MailChimp [parameters]

Remarks

Remove-MailChimp コマンドレットを使って、SQL DELETE ステートメントに似た構文を用いてMailchimp データを削除できます。

$conn = Connect-MailChimp -APIKey 'myAPIKey'
Remove-MailChimp -Connection $conn -Table "Lists" -Id "1"
Where パラメータは主キーを指定するためにも使われます。
Remove-MailChimp -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-MailChimp -Connection $conn -Table Lists -Where " = ''" | Remove-MailChimp

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