Cmdlet
Add-OfficePowerPointText
Adds a live styled run to the enclosing paragraph or list item, or starts a slide paragraph.
Syntax
Add-OfficePowerPointText
[-Alignment <OfficeAlignment>]
[-Bold]
[-Color <OfficeColor>]
[-Font <String>]
[-Highlight <OfficeColor>]
[-Italic]
[-Link <String>]
[-PassThru]
[-Size <OfficeLength>]
[-Strikethrough]
[-Text] <String>
[-Underline <PowerPointUnderlineStyle>]
[<CommonParameters>]#Parameter set:
TextExamples
Link a status label.
PowerPointParagraph { PowerPointText 'Service status' -Bold -Link 'https://status.contoso.com' }Parameters
- -Alignment OfficeAlignment
- Gets or sets alignment when starting a paragraph directly in the slide or column.
- Possible values:
Left,Center,Right,Justify,Start,End - -Bold SwitchParameter
- Gets or sets bold formatting.
- -Color OfficeColor
- Gets or sets text color or a theme role.
- -Font String
- Gets or sets the font family.
- -Highlight OfficeColor
- Gets or sets the highlight color.
- -Italic SwitchParameter
- Gets or sets italic formatting.
- -Link String
- Gets or sets the hyperlink target.
- -PassThru SwitchParameter
- Gets or sets whether to emit the native run.
- -Size OfficeLength
- Gets or sets the font size; numbers mean points.
- -Strikethrough SwitchParameter
- Gets or sets strike-through formatting.
- -Text String
- Gets or sets the text to append.
- -Underline PowerPointUnderlineStyle
- Gets or sets the native underline style.
- Possible values:
Words,Single,Double,Heavy,Dotted,HeavyDotted,Dash,DashHeavy,DashLong,DashLongHeavy,DotDash,DotDashHeavy,DotDotDash,DotDotDashHeavy,Wavy,WavyHeavy,WavyDouble
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.