# Get-OfficePowerPointShape

Reads shape summaries from a slide or presentation.

Project

PSWriteOffice

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

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointPresentation` `OfficeIMO.PowerPoint.PowerPointSlide`

**Outputs**

`PSWriteOffice.Services.PowerPoint.PowerPointShapeInfo`

**Source**

[GetOfficePowerPointShapeCommand.cs:26](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/GetOfficePowerPointShapeCommand.cs#L26) 

Reads shape summaries from a slide or presentation.

## Syntax

```
Get-OfficePowerPointShape
[-Kind <OfficePowerPointShapeKind[]>]
[-Name <String[]>]
[-ShapeIndex <Int32[]>]
[-Slide <PowerPointSlide>]
[<CommonParameters>]
```

[#](#method-get-officepowerpointshape-officepowerpointshapekind-string-int32-powerpointslide)

Parameter set: `Slide`

```
Get-OfficePowerPointShape
[-Index <Int32>]
[-Kind <OfficePowerPointShapeKind[]>]
[-Name <String[]>]
[-Presentation <PowerPointPresentation>]
[-ShapeIndex <Int32[]>]
[<CommonParameters>]
```

[#](#method-get-officepowerpointshape-int32-officepowerpointshapekind-string-powerpointpresentation-int32)

Parameter set: `Presentation`

## Description

Returns PowerShell-friendly metadata for text boxes, pictures, tables, charts, and auto shapes.

## Examples

### Inspect one slide.

```powershell
Get-OfficePowerPointSlide -Presentation $ppt -Index 0 | Get-OfficePowerPointShape
```

Returns shape summaries for the selected slide.

### Find pictures on a slide.

```powershell
Get-OfficePowerPointShape -Presentation $ppt -Index 0 -Kind Picture
```

Filters the slide output to picture shapes only.

## Parameters

**-Kind OfficePowerPointShapeKind[] optional**

Optional shape kind filter.

Possible values: `TextBox`, `Picture`, `Table`, `Chart`, `AutoShape`, `GroupShape`

**-Name String[] optional**

Optional wildcard filter for shape names.

**-ShapeIndex Int32[] optional**

Optional zero-based shape index filter.

**-Slide PowerPointSlide optionalpipeline: True (ByValue)sets: Slide**

Slide to inspect (optional inside the DSL).

**-Index Int32 optionalsets: Presentation**

Optional zero-based slide index when reading from a presentation.

**-Presentation PowerPointPresentation optionalpipeline: True (ByValue)sets: Presentation**

Presentation whose slides should be inspected.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

## Outputs

PSWriteOffice.Services.PowerPoint.PowerPointShapeInfo: PowerShell-friendly description of a PowerPoint shape.

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:4AD2198EF285E96018141B729640A02170D0DDBCD31B81C2217AFD75BC0CCA34 -->
