Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Get-OfficePowerPointLayoutPlaceholder

Aliases: PptLayoutPlaceholders
Module
PSWriteOffice
Aliases
PptLayoutPlaceholders
Inputs
OfficeIMO.PowerPoint.PowerPointSlide
Outputs
OfficeIMO.PowerPoint.PowerPointLayoutPlaceholderInfo

Gets layout placeholder metadata for a slide.

Syntax

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

Examples

List layout placeholders.

Get-OfficePowerPointLayoutPlaceholder -Slide $slide

Returns the layout placeholder definitions for the slide.

Inspect layout placeholders inside the DSL.

New-OfficePowerPoint -Path .\deck.pptx { PptSlide { Get-OfficePowerPointLayoutPlaceholder } }

Uses the current slide context.

Parameters

-Index UInt32 optional
Optional placeholder index.
-PlaceholderType PowerPointPlaceholderType optionalaliases: Type
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 optionalpipeline: True (ByValue)
Slide to inspect (optional inside DSL).

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.