# Set-OfficePowerPointThemeName

Sets the PowerPoint theme name. 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: PptThemeName

**Module**

`PSWriteOffice`

**Aliases**

`PptThemeName`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Source**

[SetOfficePowerPointThemeNameCommand.cs:21](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/SetOfficePowerPointThemeNameCommand.cs#L21) 

Sets the PowerPoint theme name.

## Syntax

```
Set-OfficePowerPointThemeName
[-AllMasters]
-Name <String>
[-PassThru]
[-Presentation <PowerPointPresentation>]
[<CommonParameters>]
```

[#](#method-set-officepowerpointthemename-switchparameter-string-switchparameter-powerpointpresentation)

Parameter set: `All Parameter Sets`

## Examples

### Rename the theme across the presentation.

```powershell
New-OfficePowerPoint -Path .\Examples\Documents\PowerPointThemeName.pptx {
    Set-OfficePowerPointThemeName -Name 'Service Brief' -AllMasters
    Add-OfficePowerPointSlide -Layout 1 -PassThru | Set-OfficePowerPointSlideTitle -Title 'Named theme'
}
```

Applies a friendly theme name across every master before saving.

## Parameters

**-AllMasters SwitchParameter optional**

Apply the name across all slide masters.

**-Name String required**

Theme name to apply.

**-PassThru SwitchParameter optional**

Emit the presentation after update.

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

Presentation to update (optional inside New-OfficePowerPoint).

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