Cmdlet
Add-OfficePowerPointFooter
Sets a deck or logical-slide footer slot using text or native inline content.
Syntax
Description
At the New-/Open- block level the slot applies throughout the deck, including existing slides. Inside PowerPointSlide it overrides that slot for the slide and its continuations. The content block runs once; repeated footers retain native styles, fields and links.
Examples
Add classification and page numbers.
New-OfficePowerPoint -Path ./Review.pptx {
PowerPointFooter 'Contoso | Confidential'
PowerPointFooter -Alignment Right { PowerPointSlideNumber -IncludeTotal }
PowerPointSlide -Title 'Service review'
}Parameters
- -Alignment OfficeAlignment
- Left, Center or Right slot; defaults to Left.
- Possible values:
Left,Center,Right,Justify,Start,End - -Text String
- Plain text for the footer slot.
- -Content ScriptBlock
- Inline content written with PowerPointText and PowerPointSlideNumber.
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.