# Set-OfficePowerPointPlaceholderText

Sets text in a slide placeholder. 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 **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: PptPlaceholderText

**Module**

`PSWriteOffice`

**Aliases**

`PptPlaceholderText`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointSlide`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointTextBox`

**Source**

[SetOfficePowerPointPlaceholderTextCommand.cs:24](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/SetOfficePowerPointPlaceholderTextCommand.cs#L24) 

Sets text in a slide placeholder.

## Syntax

```
Set-OfficePowerPointPlaceholderText
[-IgnoreMissing]
[-Index <UInt32>]
[-PassThru]
-PlaceholderType <PowerPointPlaceholderType>
[-Slide <PowerPointSlide>]
-Text <String>
[<CommonParameters>]
```

[#](#method-set-officepowerpointplaceholdertext-switchparameter-uint32-switchparameter-powerpointplaceholdertype-powerpointslide-string)

Parameter set: `All Parameter Sets`

## Examples

### Set the title placeholder text.

```powershell
New-OfficePowerPoint -Path .\Examples\Documents\PowerPointPlaceholderText.pptx {
    $slide = Add-OfficePowerPointSlide -Layout 1 -PassThru
    Set-OfficePowerPointPlaceholderText -Slide $slide -PlaceholderType Title -Text 'Agenda'
    Set-OfficePowerPointPlaceholderText -Slide $slide -PlaceholderType Body -Text 'Review signals and decisions' -IgnoreMissing
}
```

Updates placeholder text when the selected layout exposes matching placeholders.

## Parameters

**-IgnoreMissing SwitchParameter optional**

Ignore missing placeholders.

**-Index UInt32 optional**

Optional placeholder index.

**-PassThru SwitchParameter optional**

Emit the placeholder textbox after update.

**-PlaceholderType PowerPointPlaceholderType requiredaliases: Type**

Placeholder type to target.

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 update (optional inside DSL).

**-Text String required**

Text to set.

## 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:551DD724FE24B7E96FD18B124153B188A68E1DEDF490FA60FFD81CBDF3912B08 -->
