Update-MailChimp Cmdlet
Updates Mailchimp data.
Syntax
Update-MailChimp [parameters]
Remarks
The Update-MailChimp cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Mailchimp data.
$conn = Connect-MailChimp -APIKey 'myAPIKey' Update-MailChimp -Connection $conn -Table "Lists" -Columns @("Contact_Company") -Values @("") -Id "1"The Where parameter can also be used to specify the primary key of the table:
Update-MailChimp -Connection $conn -Table "Lists" -Columns @("Contact_Company") -Values @("") -Where "Id = '1'"The primary key can also be passed to the cmdlet along the pipeline:
Select-MailChimp -Connection $conn -Table Lists -Where " = ''" | Update-MailChimp -Columns @("") -Values @(" 2")