Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

ConvertTo-OfficePowerPointHtml

Aliases: ConvertTo-PowerPointHtml
Module PSWriteOffice
Aliases
ConvertTo-PowerPointHtml
Inputs
OfficeIMO.PowerPoint.PowerPointPresentation System.String
Outputs
System.String System.IO.FileInfo

Converts a PowerPoint deck to an HTML review document.

Syntax

ConvertTo-OfficePowerPointHtml [-IncludeHiddenShapes] [-IncludeHiddenSlides] [-NoDefaultStyles] [-NoExtractionProof] [-NoNotes] [-NoTables] [-OutputPath <String>] [-PassThru] [-Password <String>] [-Path] <String> [-Profile <SemanticSlides|VisualReview>] [-Theme <OfficeVisualThemeKind>] [-Title <String>] [<CommonParameters>]
#
Parameter set: Path
ConvertTo-OfficePowerPointHtml [-IncludeHiddenShapes] [-IncludeHiddenSlides] [-NoDefaultStyles] [-NoExtractionProof] [-NoNotes] [-NoTables] [-OutputPath <String>] [-PassThru] -Presentation <PowerPointPresentation> [-Profile <SemanticSlides|VisualReview>] [-Theme <OfficeVisualThemeKind>] [-Title <String>] [<CommonParameters>]
#
Parameter set: Presentation

Examples

Authored help example

Export a deck as semantic HTML.

ConvertTo-OfficePowerPointHtml -Path .\Briefing.pptx -OutputPath .\Briefing.html -Title 'Briefing Review' -PassThru

Loads the deck and writes an HTML file with slide text, tables, pictures, charts, and notes where available.

Export a visual review artifact.

ConvertTo-OfficePowerPointHtml -Path .\Briefing.pptx -Profile VisualReview -OutputPath .\Briefing.visual.html

Uses the OfficeIMO PowerPoint visual review profile.

Parameters

-IncludeHiddenShapes SwitchParameter optional
Include hidden shapes.
-IncludeHiddenSlides SwitchParameter optional
Include hidden slides in the HTML review output.
-NoDefaultStyles SwitchParameter optional
Do not include OfficeIMO default CSS styles.
-NoExtractionProof SwitchParameter optional
Do not include extraction proof metadata.
-NoNotes SwitchParameter optional
Do not include presenter notes.
-NoTables SwitchParameter optional
Do not include table content.
-OutputPath String optionalaliases: OutPath
Optional output HTML path. When omitted, HTML text is returned.
-PassThru SwitchParameter optional
Emit a FileInfo when saving to disk.
-Password String optionalsets: Path
Password used to open an encrypted presentation package.
-Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePathsets: Path
Path to the presentation to convert.
-Profile OfficePowerPointHtmlProfile optional
HTML conversion profile.
Possible values: SemanticSlides, VisualReview
-Theme OfficeVisualThemeKind optional
Built-in HTML document theme.
Possible values: Plain, WordLike, TechnicalDocument, GitHubLike, Compact, Report
-Title String optional
Optional HTML document title.
-Presentation PowerPointPresentation requiredpipeline: True (ByValue)sets: Presentation
Presentation instance to convert.

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.