OfficeIMO

API Reference

Command

Set-OfficePowerPointSlideTitle

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

Sets the text of the title placeholder on a slide.

Remarks

Sets the text of the title placeholder on a slide.

Examples

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