Cmdlets for Dropbox

Build 24.0.9060

Update-Dropbox Cmdlet

Parameters   Output Objects  

Updates Dropbox data.

Syntax

Update-Dropbox [parameters]

Remarks

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

$conn = Connect-Dropbox -OAuthClientId "clientid" -OAuthClientSecret "secret"
Update-Dropbox -Connection $conn -Table "Files" -Columns @("Name") -Values @("Jon Doe") -Id "dbid:456323434345"
The Where parameter can also be used to specify the primary key of the table:
Update-Dropbox -Connection $conn -Table "Files" -Columns @("Name") -Values @("Jon Doe") -Where "Id = 'dbid:456323434345'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Dropbox -Connection $conn -Table Files -Where "ParentPath = '/Test Folder'" | Update-Dropbox -Columns @("ParentPath") -Values @("/Test Folder 2")

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