Cmdlet
Open-OfficeEpub
Opens an EPUB publication, optionally saving an editing block atomically.
Syntax
Examples
Open a publication from a literal file pipeline.
$book = Get-Item -LiteralPath './Guide[final].epub' | Open-OfficeEpubAppend a chapter and save only when the block succeeds.
Open-OfficeEpub -Path ./Guide.epub { EpubChapter -Title Review -Text 'Reviewed and approved.' }Parameters
- -AllowLoss SwitchParameter
- Gets or sets whether native-save loss is explicitly accepted.
- -Content ScriptBlock
- Gets or sets a content block; omission returns the live document.
- -PassThru SwitchParameter
- Gets or sets whether a completed content block returns the saved FileInfo.
- -Path String
- EPUB source with FileSystem wildcard expansion.
- -Show SwitchParameter
- Gets or sets whether the saved file opens in the system default application.
- -LiteralPath String
- Literal EPUB source, including FileInfo.FullName and provider PSPath.
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.