Project

PSWriteOffice

PowerShell document automation across Word, Excel, PowerPoint, PDF, Reader, Confluence, Visio, and open text formats.

Stars 159
Forks 14
PowerShell Gallery downloads 158,661
Release v3.0.5
Language: C# Updated: 2026-09-03

API Reference

Cmdlet

Set-OfficePowerPointSlideTitle

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

Sets the text of the title placeholder on a slide.

Remarks

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

Examples

Authored help example

Rename a slide.

PS>


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

Updates the first slide’s title.

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.

Syntax

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

Parameters

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