API Reference
Command
Get-OfficePowerPointLayout
Lists slide layouts available in a presentation.
Remarks
Lists slide layouts available in a presentation.
Examples
Enumerate layouts for the first master.
PS>Get-OfficePowerPointLayout -Presentation $ppt
Returns layout metadata including name, type, and index.
List layouts inside the DSL.
PS>New-OfficePowerPoint -Path .\deck.pptx { Get-OfficePowerPointLayout | Select-Object -First 3 }
Uses the current DSL presentation context.
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-OfficePowerPointLayout [-Master <Int32>] [-Presentation <PowerPointPresentation>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Master Int32
- Slide master index.
- Presentation PowerPointPresentation
- Presentation to inspect (optional inside DSL).
Outputs
OfficeIMO.PowerPoint.PowerPointSlideLayoutInfo