Cmdlets for Box

Build 24.0.9060

Remove-Box Cmdlet

Parameters   Output Objects  

Deletes Box data.

Syntax

Remove-Box [parameters]

Remarks

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

$conn = Connect-Box
Remove-Box -Connection $conn -Table "Files" -Id "123"
The Where parameter can also be used to specify the primary key:
Remove-Box -Connection $conn -Table "exTablePowershell;" -Where "Id = 123"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Box -Connection $conn -Table Files -Where "Id = '123'" | Remove-Box

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