Project

PSWriteOffice

PSWriteOffice is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars158
Forks14
Open issues0
PowerShell Gallery downloads158661
Releasev3.0.5
Language: C# Updated: 2026-08-20T06:15:04.0000000+00:00

Documentation

Update Existing PowerPoint Presentations

Replace text and modify selected slides, shapes, tables, notes, themes, and layouts in an existing PPTX deck.

Targeted updates are useful for recurring decks where the design should remain stable while dates, labels, data, or speaker notes change.

Replace repeated text

Open the presentation, run Update-OfficePowerPointText, and close it with -Save. Use -IncludeNotes when the same term must change in speaker notes; table text is included by default and can be controlled explicitly.

$deck = Get-OfficePowerPoint -FilePath '.\FY24-Review.pptx'
Update-OfficePowerPointText -Presentation $deck `
    -OldValue FY24 -NewValue FY25 -IncludeNotes
Close-OfficePowerPoint -Presentation $deck -Save

Use targeted shape, table, notes, background, theme, layout, transition, and section commands when the change is structural. The update-existing recipe demonstrates the complete lifecycle.