Cmdlets for YouTube Analytics

Build 24.0.9060

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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060