Cmdlet
Set-OfficePowerPointNotes
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:
TextExamples
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 $deckParameters
- -PassThru SwitchParameter
- Gets or sets whether to return the selected native slide after editing.
- -Slide PowerPointSlideSelector
- Gets or sets a native slide or one-based position; omission uses the current slide content block.
- -Text String
- 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.