Cmdlet
Add-OfficeEpubResource
Adds an image, font, stylesheet or media payload without executing it.
Syntax
Add-OfficeEpubResource [-ContainerPath <String>] -Id <String> [-MaxInputBytes <Int64>] -MediaType <String> [-PassThru] [-Path] <String> -Publication <EpubPublication> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Adds an image, font, stylesheet or media payload without executing it.
$book | Add-OfficeEpubResource -Path ./cover.png -Id cover -MediaType image/pngParameters
- -ContainerPath String
- Optional package-relative path; omission uses EPUB/assets and the source filename.
- -Id String
- Unique manifest identifier.
- -MaxInputBytes Int64
- Maximum input payload bytes.
- -MediaType String
- Explicit MIME type.
- -PassThru SwitchParameter
- Return the created or changed object.
- -Path String
- Literal payload path.
- -Publication EpubPublication
- Live editable publication.
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.