# Get-OfficePowerPointSlide

Enumerates slides or retrieves a specific slide. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

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`

**Source**

[GetOfficePowerPointSlideCommand.cs:23](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/GetOfficePowerPointSlideCommand.cs#L23) 

Enumerates slides or retrieves a specific slide.

## Syntax

```
Get-OfficePowerPointSlide
[-Index <Int32>]
[-Presentation <PowerPointPresentation>]
[<CommonParameters>]
```

[#](#method-get-officepowerpointslide-int32-powerpointpresentation)

Parameter set: `All Parameter Sets`

## Description

Supports pipeline-friendly iteration over Slides or direct index selection.

## Examples

### List slide titles.

```powershell
Get-OfficePowerPointSlide -Presentation $ppt | Get-OfficePowerPointPlaceholder -PlaceholderType Title | Select-Object -ExpandProperty Text
```

Streams each slide so you can read the title placeholder text.

### Enumerate slides inside the DSL.

```powershell
New-OfficePowerPoint -Path .\deck.pptx { Get-OfficePowerPointSlide | Select-Object -First 1 }
```

Uses the current DSL presentation context.

## Parameters

**-Index Int32 optional**

Optional zero-based index; omit to enumerate all slides.

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

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

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:0973420DCB9A6432CF74D39B9BA251CD24D2A3987D264B81FAF2F5F9CEAA4BEF -->
