# Get-OfficePowerPointTheme

Gets theme information for a PowerPoint presentation master.

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: PptTheme

**Module**

`PSWriteOffice`

**Aliases**

`PptTheme`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Outputs**

`PSWriteOffice.Services.PowerPoint.PowerPointThemeInfo`

**Source**

[GetOfficePowerPointThemeCommand.cs:22](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/GetOfficePowerPointThemeCommand.cs#L22) 

Gets theme information for a PowerPoint presentation master.

## Syntax

```
Get-OfficePowerPointTheme
[-Master <Int32>]
[-Presentation <PowerPointPresentation>]
[<CommonParameters>]
```

[#](#method-get-officepowerpointtheme-int32-powerpointpresentation)

Parameter set: `All Parameter Sets`

## Examples

### Inspect the default master theme.

```powershell
$ppt = New-OfficePowerPoint -Path .\Examples\Documents\PowerPointThemeRead.pptx -NoSave
Set-OfficePowerPointThemeName -Presentation $ppt -Name 'Service Brief'
Set-OfficePowerPointThemeFonts -Presentation $ppt -MajorLatin 'Aptos Display' -MinorLatin 'Aptos'
Get-OfficePowerPointTheme -Presentation $ppt | Select-Object Name, Master
$ppt | Close-OfficePowerPoint
```

Returns theme information after updating the deck theme metadata.

## Parameters

**-Master Int32 optional**

Slide master index to inspect.

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

Presentation to inspect (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).

## Outputs

PSWriteOffice.Services.PowerPoint.PowerPointThemeInfo: Describes a PowerPoint theme for a single slide master.

Evotec API Reference Copyright 2026 Evotec Services

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