# Add-OfficePowerPointSection

Adds a section to a PowerPoint presentation. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

Aliases: PptSection

**Module**

`PSWriteOffice`

**Aliases**

`PptSection`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointSectionInfo`

**Source**

[AddOfficePowerPointSectionCommand.cs:24](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/AddOfficePowerPointSectionCommand.cs#L24) 

Adds a section to a PowerPoint presentation.

## Syntax

```
Add-OfficePowerPointSection
-Name <String>
[-PassThru]
[-Presentation <PowerPointPresentation>]
[-StartSlideIndex <Int32>]
[<CommonParameters>]
```

[#](#method-add-officepowerpointsection-string-switchparameter-powerpointpresentation-int32)

Parameter set: `All Parameter Sets`

## Description

Creates a new section starting at the requested slide index or at the current slide inside the DSL.

## Examples

### Create a section that starts at slide 3.

```powershell
New-OfficePowerPoint -Path .\Examples\Documents\PowerPointSections.pptx {
    Add-OfficePowerPointSlide -Layout 1 -PassThru | Set-OfficePowerPointSlideTitle -Title 'Overview'
    Add-OfficePowerPointSlide -Layout 1 -PassThru | Set-OfficePowerPointSlideTitle -Title 'Results'
    Add-OfficePowerPointSection -Name 'Results' -StartSlideIndex 1
}
```

Creates a section named Results starting at the second slide.

## Parameters

**-Name String required**

Name of the section to add.

**-PassThru SwitchParameter optional**

Emit the object created or changed by the command.

**-Presentation PowerPointPresentation optionalpipeline: True (ByValue)**

Presentation to update (optional inside DSL).

**-StartSlideIndex Int32 optional**

Zero-based slide index where the section should start.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:CCA8B133E8EB445C4E291FEF7F5A34AB80438C5EC79B5A6E5959344C0A3009BB -->
