# Add-OfficeWordCoverPage

Adds a built-in cover page template to a Word document.

Cmdlet 

Aliases: WordCoverPage

**Module**

`PSWriteOffice`

**Aliases**

`WordCoverPage`

**Inputs**

`OfficeIMO.Word.WordDocument`

**Outputs**

`OfficeIMO.Word.WordCoverPage`

**Source**

[AddOfficeWordCoverPageCommand.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Word/AddOfficeWordCoverPageCommand.cs#L18) 

Adds a built-in cover page template to a Word document.

## Syntax

```
Add-OfficeWordCoverPage
[-Abstract <String>]
[-CompanyAddress <String>]
[-CompanyEmail <String>]
[-Document <WordDocument>]
[-PassThru]
[-PublishDate <DateTime>]
[-Subtitle <String>]
[-Template] <WordCoverPageTemplate>
[-Title <String>]
[<CommonParameters>]
```

[#](#method-add-officewordcoverpage-string-string-string-worddocument-switchparameter-datetime-string-wordcoverpagetemplate-string)

Parameter set: `Default`

## Description

Uses OfficeIMO.Word cover page templates and optional cover-page metadata.

## Examples

### Add a cover page in the Word DSL.

```powershell
New-OfficeWord -Path .\Report.docx { Add-OfficeWordCoverPage -Template Element -Abstract 'Executive summary' }
```

Creates a document with a template-driven cover page.

## Parameters

**-Abstract String optional**

Abstract/summary stored in the cover page properties custom XML part.

**-CompanyAddress String optional**

Company address stored in the cover page properties custom XML part.

**-CompanyEmail String optional**

Company email stored in the cover page properties custom XML part.

**-Document WordDocument optionalpipeline: True (ByValue)**

Document to update. Defaults to the current Word DSL or tracked document.

**-PassThru SwitchParameter optional**

Emit the created cover page.

**-PublishDate DateTime optional**

Publish date stored in the cover page properties custom XML part.

**-Subtitle String optional**

Document subject bound as the cover subtitle.

**-Template WordCoverPageTemplate requiredposition: 0**

Cover page template to insert.

Possible values: `Austin`, `Banded`, `Facet`, `Grid`, `IonDark`, `IonLight`, `Element`, `Wisp`, `ViewMaster`, `SliceLight`, `SliceDark`, `SideLine`, `Semaphore`, `Retrospect`

**-Title String optional**

Document title bound by the cover template.

## 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).

<!-- PowerForge markdown artifact sha256:95D59F086E5FA4DD0DB0A8ED617C2675700710C6C0AA04382FC6374C6B9D1E09 -->
