Cmdlets for Microsoft Excel Online

Build 24.0.9060

Remove-ExcelOnline Cmdlet

Parameters   Output Objects  

Deletes Microsoft Excel Online data.

Syntax

Remove-ExcelOnline [parameters]

Remarks

The Remove-ExcelOnline cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Microsoft Excel Online data.

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

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