Cmdlets for LinkedIn Marketing Solutions

Build 25.0.9434

Remove-LinkedInAds Cmdlet

Parameters   Output Objects  

Deletes LinkedIn Marketing Solutions data.

Syntax

Remove-LinkedInAds [parameters]

Remarks

The Remove-LinkedInAds cmdlet allows you to use a syntax similar to SQL DELETE statements to delete LinkedIn Marketing Solutions data.

$conn = Connect-LinkedInAds -OAuthClientId 'abc123' -OAuthClientSecret 'def456' -CallbackURL 'http://localhost:33333'
Remove-LinkedInAds -Connection $conn -Table "Analytics" -Id "1"
The Where parameter can also be used to specify the primary key:
Remove-LinkedInAds -Connection $conn -Table "exTablePowershell;" -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'" | Remove-LinkedInAds

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434