Cmdlet
Get-OfficePowerPointSection
Reads sections from a live presentation, optionally matching a PowerShell wildcard pattern.
Syntax
Get-OfficePowerPointSection
[-CaseSensitive]
[[-Document] <PowerPointDocument>]
[-Name <String>]
[<CommonParameters>]#Parameter set:
DocumentExamples
List the sections in a deck.
$deck = Open-OfficePowerPoint -Path ./Review.pptx
Get-OfficePowerPointSection -Document $deck
Close-OfficePowerPoint -Document $deckFind the appendix section.
$deck | Get-OfficePowerPointSection -Name AppendixParameters
- -CaseSensitive SwitchParameter
- Gets or sets whether name matching is case-sensitive.
- -Document PowerPointDocument
- Gets or sets the live document; omission uses its enclosing content block.
- -Name String
- Gets or sets a section name or PowerShell wildcard pattern.
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.