Cmdlets for YouTube Analytics

Build 21.0.7930

Update-YouTubeAnalytics Cmdlet

Parameters   Output Objects  

Updates YouTube Analytics data.

Syntax

Update-YouTubeAnalytics [parameters]

Remarks

The Update-YouTubeAnalytics cmdlet allows you to use a syntax similar to SQL UPDATE statements to update YouTube Analytics data.

$conn = Connect-YouTubeAnalytics -ContentOwnerId 'MyContentOwnerId' -ChannelId 'MyChannelId'
Update-YouTubeAnalytics -Connection $conn -Table "Groups" -Columns @("ContentDetails_ItemType") -Values @("youtube#channel") -Id "S"
The Where parameter can also be used to specify the primary key of the table:
Update-YouTubeAnalytics -Connection $conn -Table "Groups" -Columns @("ContentDetails_ItemType") -Values @("youtube#channel") -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'" | Update-YouTubeAnalytics -Columns @("Id") -Values @("S 2")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930