API Reference
Command
Get-OfficePowerPointTheme
Gets theme information for a PowerPoint presentation master.
Remarks
Gets theme information for a PowerPoint presentation master.
Examples
Inspect the default master theme.
PS>Get-OfficePowerPointTheme -Presentation $ppt
Returns the theme name, theme colors, and configured fonts for master 0.
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
Get-OfficePowerPointTheme [-Master <Int32>] [-Presentation <PowerPointPresentation>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Master Int32
- Slide master index to inspect.
- Presentation PowerPointPresentation
- Presentation to inspect (optional inside New-OfficePowerPoint).
Outputs
PSWriteOffice.Services.PowerPoint.PowerPointThemeInfo