Cmdlets for Microsoft Excel Online

Build 24.0.9060

Update-ExcelOnline Cmdlet

Parameters   Output Objects  

Updates Microsoft Excel Online data.

Syntax

Update-ExcelOnline [parameters]

Remarks

The Update-ExcelOnline cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Microsoft Excel Online data.

$conn = Connect-ExcelOnline
Update-ExcelOnline -Connection $conn -Table "Test_xlsx_Sheet1" -Columns @("Column1") -Values @("Jon Doe") -Id "6"
The Where parameter can also be used to specify the primary key of the table:
Update-ExcelOnline -Connection $conn -Table "Test_xlsx_Sheet1" -Columns @("Column1") -Values @("Jon Doe") -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'" | Update-ExcelOnline -Columns @("Column2") -Values @("Bob 2")

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