Remove-YouTubeAnalytics Cmdlet
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