Documentation
Automate PowerPoint Presentations
Compose, inspect, update, theme, import, and render repeatable presentation decks. Includes PowerShell examples, validation notes, and cmdlet links.
The PowerPoint family exports 59 commands for slide creation and editing, sections, shapes, images, text, charts, tables, notes, themes, layouts, transitions, import, inspection, designer decks, and semantic deck plans.
Use a presentation object in normal scripts
Create with -NoSave, add slides through an explicit presentation target, then save and close once. This keeps loops and conditional slide generation ordinary PowerShell:
$presentation = New-OfficePowerPoint -Path '.\Briefing.pptx' -NoSave
$slide = Add-OfficePowerPointSlide -Presentation $presentation -LayoutType Text -PassThru
Set-OfficePowerPointSlideTitle -Slide $slide -Title 'Actions'
Add-OfficePowerPointTextBox -Slide $slide -Text 'Confirm the production date.' -X 90 -Y 170 -Width 700 -Height 60
$presentation | Close-OfficePowerPoint -Save
Choose direct authoring or a deck plan
Direct authoring with New-OfficePowerPoint and Add-OfficePowerPointSlide is appropriate when the script owns exact slide composition. Add text boxes, shapes, tables, images, bullets, charts, notes, sections, and transitions inside the presentation context.
Use New-OfficePowerPointDeckPlan and the Add-OfficePowerPointPlan* commands when the content is semantic and the designer should choose layout. Plan sections, processes, capabilities, case studies, coverage views, card grids, and logo walls can be described before a design alternative is selected.
Copy complete DSL recipes
- Quarterly business review: title slide, performance chart, priorities table, bullets, and speaker notes.
- Training workshop: learning objectives, agenda, call-to-action layout, and presenter notes.
- Service brief: semantic designer slides combined with direct chart and table slides, sections, transitions, and inspection.
Other PowerPoint workflows
- Object composition: build a deck through explicit presentation and slide objects.
- Sections and speaker notes: organize a briefing and keep presenter context with each slide.
- Copy and remove slides: assemble a delivery deck from reusable material.
The DSL cookbook explains when to use direct placement and when to use a semantic deck plan.
Task guides
- Read and inspect decks
- Update existing presentations
- Reuse and combine slides
- Export and review presentations
Inspect and update an existing deck
Inspection commands expose slides, sections, shapes, placeholders, layouts, notes, themes, and slide summaries. Bounded setters update titles, shape text, table cells, slide size and layout, placeholder bounds and text styles, notes, transitions, backgrounds, and theme identity.
Copy or import slides when the workflow assembles a deck from approved sources. Keep theme and layout changes separate from content changes so validation can distinguish a brand update from a data update.
Review output
Use ConvertTo-OfficePowerPointHtml for a browser-review surface and Export-OfficePowerPointImage for visual artifacts. For exact parameters and supported chart/layout values, search the command reference for OfficePowerPoint. The PowerPoint examples demonstrate normal script shapes.