Cmdlet
Set-OfficePowerPointSlideTitle
Sets the text of the title placeholder on a slide.
Syntax
Set-OfficePowerPointSlideTitle
[-PassThru]
[-Slide <PowerPointSlide>]
-Title <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
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
- Emit the object created or changed by the command.
- -Slide PowerPointSlide
- Slide whose title should change (optional inside DSL).
- -Title String
- 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.