# Set-OfficePowerPointSlideLayout

Changes the layout used by a slide. 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: PptSlideLayout

**Module**

`PSWriteOffice`

**Aliases**

`PptSlideLayout`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointSlide`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointSlide`

**Source**

[SetOfficePowerPointSlideLayoutCommand.cs:18](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/SetOfficePowerPointSlideLayoutCommand.cs#L18) 

Changes the layout used by a slide.

## Syntax

```
Set-OfficePowerPointSlideLayout
-Layout <Int32>
[-Master <Int32>]
[-PassThru]
[-Slide <PowerPointSlide>]
[<CommonParameters>]
```

[#](#method-set-officepowerpointslidelayout-int32-int32-switchparameter-powerpointslide)

Parameter set: `Index`

```
Set-OfficePowerPointSlideLayout
[-CaseSensitive]
-LayoutName <String>
[-Master <Int32>]
[-PassThru]
[-Slide <PowerPointSlide>]
[<CommonParameters>]
```

[#](#method-set-officepowerpointslidelayout-switchparameter-string-int32-switchparameter-powerpointslide)

Parameter set: `Name`

```
Set-OfficePowerPointSlideLayout
-LayoutType <PowerPointSlideLayoutType>
[-Master <Int32>]
[-PassThru]
[-Slide <PowerPointSlide>]
[<CommonParameters>]
```

[#](#method-set-officepowerpointslidelayout-powerpointslidelayouttype-int32-switchparameter-powerpointslide)

Parameter set: `Type`

## Examples

### Switch a slide to a layout by name.

```powershell
Get-OfficePowerPointSlide -Presentation $ppt -Index 0 | Set-OfficePowerPointSlideLayout -LayoutName 'Title and Content'
```

Updates the slide to use the requested layout.

## Parameters

**-Layout Int32 requiredsets: Index**

Layout index to use.

**-Master Int32 optional**

Slide master index to use.

**-PassThru SwitchParameter optional**

Emit the object created or changed by the command.

**-Slide PowerPointSlide optionalpipeline: True (ByValue)**

Slide to update (optional inside a slide DSL scope).

**-CaseSensitive SwitchParameter optionalsets: Name**

Use case-sensitive matching for layout names.

**-LayoutName String requiredsets: Name**

Layout name to use.

**-LayoutType PowerPointSlideLayoutType requiredsets: Type**

Layout type to use.

Possible values: `Title`, `Text`, `TwoColumnText`, `Table`, `TextAndChart`, `ChartAndText`, `Diagram`, `Chart`, `TextAndClipArt`, `ClipArtAndText`, `TitleOnly`, `Blank`, `TextAndObject`, `ObjectAndText`, `ObjectOnly`, `Object`, `TextAndMedia`, `MediaAndText`, `ObjectOverText`, `TextOverObject`, `TextAndTwoObjects`, `TwoObjectsAndText`, `TwoObjectsOverText`, `FourObjects`, `VerticalText`, `ClipArtAndVerticalText`, `VerticalTitleAndText`, `VerticalTitleAndTextOverChart`, `TwoObjects`, `ObjectAndTwoObjects`, `TwoObjectsAndObject`, `Custom`, `SectionHeader`, `TwoTextAndTwoObjects`, `ObjectText`, `PictureText`

## 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:A5D226F42072F1C72AED1238F3E068113A02D3F296CEB2CAB6A2CA315A78D12C -->
