Cmdlet
Add-OfficePowerPointListItem
Adds a native paragraph to the enclosing list, optionally using styled runs.
Syntax
Add-OfficePowerPointListItem
[-Bold]
[-Color <OfficeColor>]
[-Font <String>]
[-Highlight <OfficeColor>]
[-Italic]
[-Level <Int32>]
[-PassThru]
[-Size <OfficeLength>]
[-Strikethrough]
[-Text] <String>
[-Underline <PowerPointUnderlineStyle>]
[<CommonParameters>]#Parameter set:
TextAdd-OfficePowerPointListItem
[-Content] <ScriptBlock>
[-Level <Int32>]
[-PassThru]
[<CommonParameters>]#Parameter set:
ContentExamples
Write an emphasized list item.
PowerPointList { PowerPointListItem { PowerPointText 'Capacity' -Bold; PowerPointText ': review weekly' } }Parameters
- -Bold SwitchParameter
- Gets or sets whether plain item text is bold.
- -Color OfficeColor
- Gets or sets the text color or theme role.
- -Font String
- Gets or sets the font family.
- -Highlight OfficeColor
- Gets or sets the highlight color.
- -Italic SwitchParameter
- Gets or sets whether plain item text is italic.
- -Level Int32
- Gets or sets the one-based list nesting level.
- -PassThru SwitchParameter
- Gets or sets whether to emit the live native item paragraph.
- -Size OfficeLength
- Gets or sets the font size; numbers mean points.
- -Strikethrough SwitchParameter
- Gets or sets whether plain item text has a strike through it.
- -Text String
- Gets or sets plain item text.
- -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 - -Content ScriptBlock
- Gets or sets the styled-run content block.
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.