Cmdlets for YouTube Analytics

Build 24.0.9060

Remove-YouTubeAnalytics Cmdlet

Parameters   Output Objects  

Deletes YouTube Analytics data.

Syntax

Remove-YouTubeAnalytics [parameters]

Remarks

The Remove-YouTubeAnalytics cmdlet allows you to use a syntax similar to SQL DELETE statements to delete YouTube Analytics data.

$conn = Connect-YouTubeAnalytics -ContentOwnerId 'MyContentOwnerId' -ChannelId 'MyChannelId'
Remove-YouTubeAnalytics -Connection $conn -Table "Groups" -Id "S"
The Where parameter can also be used to specify the primary key:
Remove-YouTubeAnalytics -Connection $conn -Table "exTablePowershell;" -Where "Id = S"
The primary key can also be passed to the cmdlet along the pipeline:
Select-YouTubeAnalytics -Connection $conn -Table Groups -Where "Id = 'S'" | Remove-YouTubeAnalytics

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