Cmdlets for Google Drive

Build 24.0.9060

Remove-GoogleDrive Cmdlet

Parameters   Output Objects  

Deletes Google Drive data.

Syntax

Remove-GoogleDrive [parameters]

Remarks

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

$conn = Connect-GoogleDrive
Remove-GoogleDrive -Connection $conn -Table "Files" -Id "S"
The Where parameter can also be used to specify the primary key:
Remove-GoogleDrive -Connection $conn -Table "exTablePowershell;" -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'" | Remove-GoogleDrive

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