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

Get-OfficePowerPointPlaceholder

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointSlide
Outputs
OfficeIMO.PowerPoint.PowerPointTextBox

Gets placeholder text boxes from a slide.

Remarks

Gets placeholder text boxes from a slide.

Examples

Authored help example

Get the title placeholder.

PS>


Get-OfficePowerPointPlaceholder -Slide $slide -PlaceholderType Title
        

Returns the title placeholder textbox if present.

Get placeholders inside a slide DSL block.

PS>


New-OfficePowerPoint -Path .\deck.pptx { PptSlide { Get-OfficePowerPointPlaceholder -PlaceholderType Title } }
        

Uses the current slide context.

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

Get-OfficePowerPointPlaceholder [-Index <UInt32>] [-PlaceholderType <Title>] [-Slide <PowerPointSlide>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Index UInt32 optionalposition: namedpipeline: False
Optional placeholder index.
PlaceholderType PowerPointPlaceholderType optionalposition: namedpipeline: Falsealiases: Typevalues: 16
Placeholder type to filter on.
Possible values: Title, Body, CenteredTitle, SubTitle, DateAndTime, SlideNumber, Footer, Header, Object, Chart, Table, ClipArt, Diagram, Media, SlideImage, Picture
Slide PowerPointSlide optionalposition: namedpipeline: True (ByValue)
Slide to inspect (optional inside DSL).

Outputs

OfficeIMO.PowerPoint.PowerPointTextBox