Cmdlets for Bitbucket

Build 24.0.9060

Remove-Bitbucket Cmdlet

Parameters   Output Objects  

Deletes Bitbucket data.

Syntax

Remove-Bitbucket [parameters]

Remarks

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

$conn = Connect-Bitbucket -Workspace 'myworkspaceslug' -Schema 'Information'
Remove-Bitbucket -Connection $conn -Table "Issues" -Id "1"
The Where parameter can also be used to specify the primary key:
Remove-Bitbucket -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Bitbucket -Connection $conn -Table Issues -Where "ContentRaw = 'Bug'" | Remove-Bitbucket

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