Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Close-OfficeEpub

Module
PSWriteOffice
Inputs
OfficeIMO.Epub.EpubPublication

Completes an EPUB publication's lifecycle without saving.

Syntax

Close-OfficeEpub
-Document <EpubPublication>
[<CommonParameters>]
#
Parameter set: Document

Examples

Close a live publication after an explicit save.

Close-OfficeEpub -Document $book

Parameters

-Document EpubPublication requiredpipeline: True (ByValue)
Live publication to close without saving.

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.