Evotec

Project

PSWriteOffice

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

Stars 144
Forks 12
Open issues 16
PowerShell Gallery downloads 150,904
Release v0.2.0
Language: C# Updated: 2026-04-06

API Reference

Cmdlet

Set-OfficePowerPointSlideTitle

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointSlide
Outputs
System.Object

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 [-Slide <PowerPointSlide>] -Title <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Slide PowerPointSlide optionalposition: namedpipeline: True (ByValue)
Slide whose title should change (optional inside DSL).
Title String requiredposition: namedpipeline: False
New title text.

Outputs

System.Object