Cmdlets for Domino

Build 24.0.9060

Remove-Domino Cmdlet

Parameters   Output Objects  

Deletes Domino data.

Syntax

Remove-Domino [parameters]

Remarks

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

$conn = Connect-Domino -URL "http://dominoserver:3002/" -DataSource "names" -TableTypes "Tables" -AuthScheme "OAuthPassword" -User "MyUser" -Password "MyPassword"
Remove-Domino -Connection $conn -Table "Person" -Id "1"
The Where parameter can also be used to specify the primary key:
Remove-Domino -Connection $conn -Table "exTablePowershell;" -Where "Id = 1"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Domino -Connection $conn -Table Person -Where "City = 'Miami'" | Remove-Domino

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