# Add-OfficeMarkdownList

Adds a Markdown list. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: MarkdownList

**Module**

`PSWriteOffice`

**Aliases**

`MarkdownList`

**Inputs**

`OfficeIMO.Markdown.MarkdownDoc`

**Outputs**

`OfficeIMO.Markdown.MarkdownDoc`

**Source**

[AddOfficeMarkdownListCommand.cs:25](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Markdown/AddOfficeMarkdownListCommand.cs#L25) 

Adds a Markdown list.

## Syntax

```
Add-OfficeMarkdownList
[-Items] <String[]>
[-Ordered]
[-PassThru]
[-Start <Int32>]
[<CommonParameters>]
```

[#](#method-add-officemarkdownlist-string-switchparameter-switchparameter-int32)

Parameter set: `Context`

```
Add-OfficeMarkdownList
-Document <MarkdownDoc>
[-Items] <String[]>
[-Ordered]
[-PassThru]
[-Start <Int32>]
[<CommonParameters>]
```

[#](#method-add-officemarkdownlist-markdowndoc-string-switchparameter-switchparameter-int32)

Parameter set: `Document`

## Examples

### Add ordered and unordered lists to a report.

```powershell
New-OfficeMarkdown -Path .\Plan.md {
    Add-OfficeMarkdownHeading -Level 2 -Text 'Priorities'
    Add-OfficeMarkdownList -Items 'PDF examples', 'PowerPoint layout', 'Word report polish'
    Add-OfficeMarkdownHeading -Level 2 -Text 'Release order'
    Add-OfficeMarkdownList -Items 'Validate artifacts', 'Generate docs', 'Publish release' -Ordered -Start 1
}
```

Appends bullet and ordered lists to the current Markdown document.

## Parameters

**-Items String[] requiredposition: 0**

List items to add.

**-Ordered SwitchParameter optional**

Use an ordered list instead of bullets.

**-PassThru SwitchParameter optional**

Emit the Markdown document after appending the list.

**-Start Int32 optional**

Starting number for ordered lists.

**-Document MarkdownDoc requiredpipeline: True (ByValue)sets: Document**

Markdown document to update outside the DSL context.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:07096A4EBAC8DC4A50A174E476B1C6516478B305F8E974331C0CFA51DB97141B -->
