Cmdlets for Confluence

Build 25.0.9434

Update-Confluence Cmdlet

Parameters   Output Objects  

Updates Confluence data.

Syntax

Update-Confluence [parameters]

Remarks

The Update-Confluence cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Confluence data.

$conn = Connect-Confluence -User "admin" -APIToken "myApiToken" -Url "https://yoursitename.atlassian.net" -Timezone "America/New_York" 
Update-Confluence -Connection $conn -Table "Pages" -Columns @("Name") -Values @("Test Page.") -Id "10000"
The Where parameter can also be used to specify the primary key of the table:
Update-Confluence -Connection $conn -Table "Pages" -Columns @("Name") -Values @("Test Page.") -Where "Id = '10000'"
The primary key can also be passed to the cmdlet along the pipeline:
Select-Confluence -Connection $conn -Table Pages -Where "Id = '10000'" | Update-Confluence -Columns @("Id") -Values @("10000 2")

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434