# Set-OfficeEpubMetadata

Updates the primary title, language or creator through the package model.

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Epub.EpubPublication`

**Outputs**

`OfficeIMO.Epub.EpubPublication`

**Source**

[SetOfficeEpubMetadataCommand.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Epub/SetOfficeEpubMetadataCommand.cs#L15) 

Updates the primary title, language or creator through the package model.

## Syntax

```
Set-OfficeEpubMetadata
[-Author <String>]
[-Document <EpubPublication>]
[-Language <String>]
[-PassThru]
[-Title <String>]
[<CommonParameters>]
```

[#](#method-set-officeepubmetadata-string-epubpublication-string-switchparameter-string)

Parameter set: `Default`

## Guides & Samples

Authored walkthroughs and practical samples linked to this command.

- [Project, Access, and EPUB Files](/docs/pswriteoffice/project-access-epub/) Guide
  
  Create and read Microsoft Project schedules, Access databases and EPUB books from PowerShell, without Project or Access installed.
- [Create and Edit EPUB Files](/docs/epub/create/) Guide
  
  Create EPUB 3 or EPUB 2 e-books in .NET with chapters, styles, images and a table of contents, import an HTML manuscript, and run a preflight check.

## Examples

### Updates the primary title, language or creator through the package model.

```powershell
$book | Set-OfficeEpubMetadata -Title "Operations handbook"
```

## Parameters

**-Author String optional**

New primary author.

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

Gets or sets an explicit live document; omission uses the enclosing content block.

**-Language String optional**

New BCP 47 language.

**-PassThru SwitchParameter optional**

Return the created or changed object.

**-Title String optional**

New primary title.

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