Cmdlets for Dropbox

Build 24.0.9060

Remove-Dropbox Cmdlet

Parameters   Output Objects  

Deletes Dropbox data.

Syntax

Remove-Dropbox [parameters]

Remarks

The Remove-Dropbox cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Dropbox data.

$conn = Connect-Dropbox -OAuthClientId "clientid" -OAuthClientSecret "secret"
Remove-Dropbox -Connection $conn -Table "Files" -Id "dbid:456323434345"
The Where parameter can also be used to specify the primary key:
Remove-Dropbox -Connection $conn -Table "exTablePowershell;" -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'" | Remove-Dropbox

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