# Add-OfficeMarkdownTaskList

Adds a Markdown task 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 **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

Aliases: MarkdownTaskList

**Module**

`PSWriteOffice`

**Aliases**

`MarkdownTaskList`

**Inputs**

`OfficeIMO.Markdown.MarkdownDoc`

**Outputs**

`OfficeIMO.Markdown.MarkdownDoc`

**Source**

[AddOfficeMarkdownTaskListCommand.cs:23](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Markdown/AddOfficeMarkdownTaskListCommand.cs#L23) 

Adds a Markdown task list.

## Syntax

```
Add-OfficeMarkdownTaskList
[-AllCompleted]
[-Completed <Int32[]>]
[-Items] <String[]>
[-PassThru]
[<CommonParameters>]
```

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

Parameter set: `Context`

```
Add-OfficeMarkdownTaskList
[-AllCompleted]
[-Completed <Int32[]>]
-Document <MarkdownDoc>
[-Items] <String[]>
[-PassThru]
[<CommonParameters>]
```

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

Parameter set: `Document`

## Examples

### Add a release checklist.

```powershell
New-OfficeMarkdown -Path .\ReleaseChecklist.md {
    Add-OfficeMarkdownHeading -Level 1 -Text 'Release checklist'
    Add-OfficeMarkdownTaskList -Items 'Generate examples', 'Refresh docs', 'Validate artifacts', 'Publish release' -Completed 0, 1
}
```

Appends an unordered task list and marks selected zero-based items as completed.

## Parameters

**-AllCompleted SwitchParameter optional**

Mark every task as completed.

**-Completed Int32[] optional**

Zero-based item indexes that should be marked complete.

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

Task text entries to include in the checklist.

**-PassThru SwitchParameter optional**

Emit the updated Markdown document.

**-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:E11F122525C54B7833679F29E078FB0C1AE0EC12472831DE98DF606D4C47BCF9 -->
