API Reference
Cmdlet
Set-OfficePowerPointThemeName
Sets the PowerPoint theme name.
Remarks
Sets the PowerPoint theme name.
Examples
Example 1: Rename the theme across the presentation.
PS>
New-OfficePowerPoint -Path .\Examples\Documents\PowerPointThemeName.pptx {
Set-OfficePowerPointThemeName -Name 'Service Brief' -AllMasters
Add-OfficePowerPointSlide -Layout 1 | Set-OfficePowerPointSlideTitle -Title 'Named theme'
}
Applies a friendly theme name across every master before saving.
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
Set-OfficePowerPointThemeName [-AllMasters] -Name <String> [-PassThru] [-Presentation <PowerPointPresentation>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- AllMasters SwitchParameter
- Apply the name across all slide masters.
- Name String
- Theme name to apply.
- PassThru SwitchParameter
- Emit the presentation after update.
- Presentation PowerPointPresentation
- Presentation to update (optional inside New-OfficePowerPoint).
Outputs
OfficeIMO.PowerPoint.PowerPointPresentation