Cmdlet
Add-OfficePowerPointBullets
Adds a bulleted list to a PowerPoint slide.
Syntax
Add-OfficePowerPointBullets
[-BulletChar <String>]
[-Bullets] <String[]>
[-Height <Double>]
[-Level <Int32>]
[-PassThru]
[-Slide <PowerPointSlide>]
[-Width <Double>]
[-X <Double>]
[-Y <Double>]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Creates a textbox and populates it with bullet paragraphs.
Examples
Add a bullet list.
New-OfficePowerPoint -Path .\Examples\Documents\PowerPointBullets.pptx {
$slide = Add-OfficePowerPointSlide -Layout 1 -PassThru
Set-OfficePowerPointSlideTitle -Slide $slide -Title 'Delivery update'
Add-OfficePowerPointBullets -Slide $slide -Bullets 'Wins','Risks','Next steps' -X 60 -Y 120 -Width 420 -Height 180
}Creates a slide with a titled bullet list.
Parameters
- -BulletChar String
- Optional bullet character (defaults to •).
- -Bullets String[]
- Bullet items to render.
- -Height Double
- Textbox height in points.
- -Level Int32
- List level (0-8).
- -PassThru SwitchParameter
- Emit the object created or changed by the command.
- -Slide PowerPointSlide
- Target slide that will receive the bullet list (optional inside DSL).
- -Width Double
- Textbox width in points.
- -X Double
- Left offset (in points) from the slide origin.
- -Y Double
- Top offset (in points) from the slide origin.
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.