Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Set-OfficePowerPointSlideTitle

Aliases: PptTitle
Module
PSWriteOffice
Aliases
PptTitle
Inputs
OfficeIMO.PowerPoint.PowerPointSlide

Sets the text of the title placeholder on a slide.

Syntax

Set-OfficePowerPointSlideTitle
[-PassThru]
[-Slide <PowerPointSlide>]
-Title <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Targets the title placeholder when available; otherwise adds a new title shape.

Examples

Rename a slide.

Get-OfficePowerPointSlide -Presentation $ppt -Index 0 | Set-OfficePowerPointSlideTitle -Title 'Executive Summary'

Updates the first slide’s title.

Parameters

-PassThru SwitchParameter optional
Emit the object created or changed by the command.
-Slide PowerPointSlide optionalpipeline: True (ByValue)
Slide whose title should change (optional inside DSL).
-Title String required
New title text.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.