Evotec

Project

PSWriteOffice

PSWriteOffice is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars 144
Forks 12
Open issues 16
PowerShell Gallery downloads 150,904
Release v0.2.0
Language: C# Updated: 2026-04-06

API Reference

Cmdlet

Set-OfficePowerPointPlaceholderText

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointSlide
Outputs
OfficeIMO.PowerPoint.PowerPointTextBox

Sets text in a slide placeholder.

Remarks

Sets text in a slide placeholder.

Examples

Authored help example

Set the title placeholder text.

PS>


Set-OfficePowerPointPlaceholderText -Slide $slide -PlaceholderType Title -Text 'Agenda'
        

Updates the Title placeholder on the slide.

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

Set-OfficePowerPointPlaceholderText [-IgnoreMissing] [-Index <Nullable`1>] [-PassThru] -PlaceholderType <String> [-Slide <PowerPointSlide>] -Text <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

IgnoreMissing SwitchParameter optionalposition: namedpipeline: False
Ignore missing placeholders.
Index Nullable`1 optionalposition: namedpipeline: False
Optional placeholder index.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the placeholder textbox after update.
PlaceholderType String requiredposition: namedpipeline: Falsealiases: Type
Placeholder type to target.
Slide PowerPointSlide optionalposition: namedpipeline: True (ByValue)
Slide to update (optional inside DSL).
Text String requiredposition: namedpipeline: False
Text to set.

Outputs

OfficeIMO.PowerPoint.PowerPointTextBox