# Add-OfficeWordFooter

Adds content to a section footer. 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: WordFooter

**Module**

`PSWriteOffice`

**Aliases**

`WordFooter`

**Inputs**

`None`

**Source**

[AddOfficeWordFooterCommand.cs:17](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Word/AddOfficeWordFooterCommand.cs#L17) 

Adds content to a section footer.

## Syntax

```
Add-OfficeWordFooter
[[-Content] <ScriptBlock>]
[-PassThru]
[-Type <Default|First|Even>]
[<CommonParameters>]
```

[#](#method-add-officewordfooter-scriptblock-switchparameter-wordheaderfootertype)

Parameter set: `All Parameter Sets`

## Description

Creates or reuses the requested footer part (default/first/even) and runs the DSL script block inside it.

## Examples

### Append page numbers to the default footer.

```powershell
Add-OfficeWordSection { Add-OfficeWordFooter { Add-OfficeWordPageNumber -IncludeTotalPages } }
```

Inserts a footer displaying “Page X of Y”.

## Parameters

**-Content ScriptBlock optionalposition: 0**

DSL scriptblock executed within the footer context.

**-PassThru SwitchParameter optional**

Emit the object created or changed by the command.

**-Type WordHeaderFooterType optional**

The footer kind (Default/First/Even).

Possible values: `Default`, `First`, `Even`

## 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:EEF1961EC974C394FC754E3C0E9121FD50218D33F43F530658E677E9C32C39C6 -->
