Cmdlets for Google Drive

Build 24.0.9060

Update-GoogleDrive Cmdlet

Parameters   Output Objects  

Updates Google Drive data.

Syntax

Update-GoogleDrive [parameters]

Remarks

The Update-GoogleDrive cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Google Drive data.

$conn = Connect-GoogleDrive
Update-GoogleDrive -Connection $conn -Table "Files" -Columns @("Name") -Values @("My File") -Id "S"
The Where parameter can also be used to specify the primary key of the table:
Update-GoogleDrive -Connection $conn -Table "Files" -Columns @("Name") -Values @("My File") -Where "Id = 'S'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-GoogleDrive -Connection $conn -Table Files -Where "Extension = 'png'" | Update-GoogleDrive -Columns @("Extension") -Values @("png 2")

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