API Reference
Cmdlet
Add-OfficeWordCoverPage
Adds a built-in cover page template to a Word document.
Remarks
Uses OfficeIMO.Word cover page templates and optional cover-page metadata.
Examples
Add a cover page in the Word DSL.
PS>
New-OfficeWord -Path .\Report.docx { Add-OfficeWordCoverPage -Template Element -Abstract 'Executive summary' }
Creates a document with a template-driven cover page.
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-OfficeWordCoverPage [-Abstract <String>] [-CompanyAddress <String>] [-CompanyEmail <String>] [-Document <WordDocument>] [-PassThru] [-PublishDate <String>] -Template <Austin> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Abstract String
- Abstract/summary stored in the cover page properties custom XML part.
- CompanyAddress String
- Company address stored in the cover page properties custom XML part.
- CompanyEmail String
- Company email stored in the cover page properties custom XML part.
- Document WordDocument
- Document to update. Defaults to the current Word DSL or tracked document.
- PassThru SwitchParameter
- Emit the created cover page.
- PublishDate String
- Publish date stored in the cover page properties custom XML part.
- Template CoverPageTemplate
- Cover page template to insert.
- Possible values:
Austin,Banded,Facet,Grid,IonDark,IonLight,Element,Wisp,ViewMaster,SliceLight,SliceDark,SideLine,Semaphore,Retrospect
Outputs
OfficeIMO.Word.WordCoverPage