Update-LinkedInAds Cmdlet
Updates LinkedIn Marketing Solutions data.
Syntax
Update-LinkedInAds [parameters]
Remarks
The Update-LinkedInAds cmdlet allows you to use a syntax similar to SQL UPDATE statements to update LinkedIn Marketing Solutions data.
$conn = Connect-LinkedInAds -OAuthClientId 'abc123' -OAuthClientSecret 'def456' -CallbackURL 'http://localhost:33333'
Update-LinkedInAds -Connection $conn -Table "Analytics" -Columns @("Comment") -Values @("Check out developer.linkedin.com!") -Id "1"
The Where parameter can also be used to specify the primary key of the table:
Update-LinkedInAds -Connection $conn -Table "Analytics" -Columns @("Comment") -Values @("Check out developer.linkedin.com!") -Where "Id = '1'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-LinkedInAds -Connection $conn -Table Analytics -Where "EntityId = '238'" | Update-LinkedInAds -Columns @("EntityId") -Values @("238 2")