Update-LinkedIn Cmdlet
Updates LinkedIn data.
Syntax
Update-LinkedIn [parameters]
Remarks
The Update-LinkedIn cmdlet allows you to use a syntax similar to SQL UPDATE statements to update LinkedIn data.
$conn = Connect-LinkedIn -OAuthClientId 'abc123' -OAuthClientSecret 'def456' -CallbackURL 'http://localhost:33333' -CompanyId 'XXXXXXX'
Update-LinkedIn -Connection $conn -Table "CompanyStatusUpdates" -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-LinkedIn -Connection $conn -Table "CompanyStatusUpdates" -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-LinkedIn -Connection $conn -Table CompanyStatusUpdates -Where "EntityId = '238'" | Update-LinkedIn -Columns @("EntityId") -Values @("238 2")