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

Get-OfficePowerPointSection

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointPresentation
Outputs
OfficeIMO.PowerPoint.PowerPointSectionInfo

Gets PowerPoint sections from a presentation.

Remarks

Returns OfficeIMO section metadata so scripts can inspect section names and slide ranges.

Examples

Authored help example

List all sections in a deck.

PS>


Get-OfficePowerPointSection -Presentation $ppt
        

Returns section information including section names and slide indexes.

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

Get-OfficePowerPointSection [-CaseSensitive] [-Name <String>] [-Presentation <PowerPointPresentation>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

CaseSensitive SwitchParameter optionalposition: namedpipeline: False
Use case-sensitive matching for section names.
Name String optionalposition: namedpipeline: False
Optional section name filter.
Presentation PowerPointPresentation optionalposition: namedpipeline: True (ByValue)
Presentation to inspect (optional inside DSL).

Outputs

OfficeIMO.PowerPoint.PowerPointSectionInfo