API Reference
Command
Get-OfficePowerPointShape
Reads shape summaries from a slide or presentation.
Remarks
Reads shape summaries from a slide or presentation.
Examples
Inspect one slide.
PS>Get-OfficePowerPointSlide -Presentation $ppt -Index 0 | Get-OfficePowerPointShape
Returns shape summaries for the selected slide.
Find pictures on a slide.
PS>Get-OfficePowerPointShape -Presentation $ppt -Index 0 -Kind Picture
Filters the slide output to picture shapes only.
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-OfficePowerPointShape [-Kind <TextBox>] [-Name <String[]>] [-ShapeIndex <Int32[]>] [-Slide <PowerPointSlide>] [<CommonParameters>]#Parameter set:
SlideParameters
- Kind String[]
- Optional shape kind filter.
- Possible values:
TextBox,Picture,Table,Chart,AutoShape,GroupShape - Name String[]
- Optional wildcard filter for shape names.
- ShapeIndex Int32[]
- Optional zero-based shape index filter.
- Slide PowerPointSlide
- Slide to inspect (optional inside the DSL).
Outputs
PSWriteOffice.Services.PowerPoint.PowerPointShapeInfo
Get-OfficePowerPointShape [-Index <Nullable`1>] [-Kind <TextBox>] [-Name <String[]>] [-Presentation <PowerPointPresentation>] [-ShapeIndex <Int32[]>] [<CommonParameters>]#Parameter set:
PresentationParameters
- Index Nullable`1
- Optional zero-based slide index when reading from a presentation.
- Kind String[]
- Optional shape kind filter.
- Possible values:
TextBox,Picture,Table,Chart,AutoShape,GroupShape - Name String[]
- Optional wildcard filter for shape names.
- Presentation PowerPointPresentation
- Presentation whose slides should be inspected.
- ShapeIndex Int32[]
- Optional zero-based shape index filter.
Outputs
PSWriteOffice.Services.PowerPoint.PowerPointShapeInfo