Update-Dropbox Cmdlet
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")