Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficePowerPointNotes

Module
PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointDocument
Outputs
PSWriteOffice.Services.PowerPoint.PowerPointNotesInfo

Reads speaker notes without creating empty notes parts.

Syntax

Get-OfficePowerPointNotes
[-Document <PowerPointDocument>]
[-IncludeEmpty]
[-Slide <PowerPointSlideSelector>]
[<CommonParameters>]
#
Parameter set: Document

Examples

Read the presenter script.

Get-OfficePowerPointNotes -Document $deck -IncludeEmpty | Select-Object SlideIndex, Text

Read notes from a selected slide.

Get-OfficePowerPointNotes -Document $deck -Slide 3

Parameters

-Document PowerPointDocument optionalpipeline: True (ByValue)
Gets or sets a live document; omission uses the enclosing document block.
-IncludeEmpty SwitchParameter optional
Gets or sets whether slides without notes are included.
-Slide PowerPointSlideSelector optional
Gets or sets a native slide object or one-based slide position.

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.

Outputs

PSWriteOffice.Services.PowerPoint.PowerPointNotesInfo: PowerShell-friendly description of slide speaker notes.