API Reference

Cmdlet

Add-OfficeWordList

Aliases: WordList

Starts a list inside the current section or paragraph anchor.

Remarks

Creates a temporary anchor paragraph, spawns an OfficeIMO list, and runs child WordListItem commands.

Examples

Authored help example

Example 1: Numbered checklist.

PS>


Add-OfficeWordList -Style 'Numbered' { Add-OfficeWordListItem -Text 'Plan'; Add-OfficeWordListItem -Text 'Execute' }
        

Creates a numbered list with two steps.

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

Add-OfficeWordList [-Content <ScriptBlock>] [-Style <Bulleted>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Content ScriptBlock optionalposition: 0pipeline: False
Scriptblock executed within the list scope.
Style WordListStyle optionalposition: 1pipeline: Falsealiases: Typevalues: 14
Built-in list style or custom numbering scheme. Possible values: Bulleted, ArticleSections, Headings111, HeadingIA1, Chapters, BulletedChars, Heading1ai, Headings111Shifted, LowerLetterWithBracket, LowerLetterWithDot, UpperLetterWithDot, UpperLetterWithBracket, Custom, Numbered
Possible values: Bulleted, ArticleSections, Headings111, HeadingIA1, Chapters, BulletedChars, Heading1ai, Headings111Shifted, LowerLetterWithBracket, LowerLetterWithDot, UpperLetterWithDot, UpperLetterWithBracket, Custom, Numbered