Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Set-OfficePowerPointNotes

Aliases: PowerPointNotes
Module
PSWriteOffice
Aliases
PowerPointNotes
Inputs
PSWriteOffice.Foundation.PowerPointSlideSelector
Outputs
OfficeIMO.PowerPoint.PowerPointSlide

Sets speaker notes on a native slide or in the current slide content block.

Syntax

Set-OfficePowerPointNotes
[-PassThru]
[-Slide <PowerPointSlideSelector>]
[-Text] <String>
[<CommonParameters>]
#
Parameter set: Text

Examples

Add talking points without placing them on the visible slide.

New-OfficePowerPoint -Path ./Review.pptx {
    PowerPointSlide -Title 'Service review' {
        PowerPointParagraph 'All regions healthy'
        PowerPointNotes 'Pause for questions before discussing capacity.'
    }
}

Update an existing slide's notes.

Get-OfficePowerPointSlide -Document $deck -Slide 2 |
    Set-OfficePowerPointNotes -Text 'Explain the margin before revenue.'
Save-OfficePowerPoint -Document $deck

Parameters

-PassThru SwitchParameter optional
Gets or sets whether to return the selected native slide after editing.
-Slide PowerPointSlideSelector optionalpipeline: True (ByValue)
Gets or sets a native slide or one-based position; omission uses the current slide content block.
-Text String requiredposition: 0
Gets or sets the notes text; an empty string clears the notes.

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.