API Reference
Cmdlet
ConvertTo-OfficePowerPointHtml
Converts a PowerPoint deck to an HTML review document.
Remarks
Converts a PowerPoint deck to an HTML review document.
Examples
Export a deck as semantic HTML.
PS>
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.
PS>
ConvertTo-OfficePowerPointHtml -Path .\Briefing.pptx -Profile VisualReview -OutputPath .\Briefing.visual.html
Uses the OfficeIMO PowerPoint visual review profile.
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.
Syntax
ConvertTo-OfficePowerPointHtml [-IncludeHiddenShapes] [-IncludeHiddenSlides] [-NoDefaultStyles] [-NoExtractionProof] [-NoNotes] [-NoTables] [-OutputPath <String>] [-PassThru] [-Password <String>] -Path <String> [-Profile <SemanticSlides|VisualReview>] [-Theme <Plain>] [-Title <String>] [<CommonParameters>]#Parameter set:
PathParameters
- IncludeHiddenShapes SwitchParameter
- Include hidden shapes.
- IncludeHiddenSlides SwitchParameter
- Include hidden slides in the HTML review output.
- NoDefaultStyles SwitchParameter
- Do not include OfficeIMO default CSS styles.
- NoExtractionProof SwitchParameter
- Do not include extraction proof metadata.
- NoNotes SwitchParameter
- Do not include presenter notes.
- NoTables SwitchParameter
- Do not include table content.
- OutputPath String
- Optional output HTML path. When omitted, HTML text is returned.
- PassThru SwitchParameter
- Emit a FileInfo when saving to disk.
- Password String
- Password used to open an encrypted presentation package.
- Path String
- Path to the presentation to convert.
- Profile OfficePowerPointHtmlProfile
- HTML conversion profile.
- Possible values:
SemanticSlides,VisualReview - Theme OfficeVisualThemeKind
- Built-in HTML document theme.
- Possible values:
Plain,WordLike,TechnicalDocument,GitHubLike,Compact,Report - Title String
- Optional HTML document title.
Outputs
System.String System.IO.FileInfo
ConvertTo-OfficePowerPointHtml [-IncludeHiddenShapes] [-IncludeHiddenSlides] [-NoDefaultStyles] [-NoExtractionProof] [-NoNotes] [-NoTables] [-OutputPath <String>] [-PassThru] -Presentation <PowerPointPresentation> [-Profile <SemanticSlides|VisualReview>] [-Theme <Plain>] [-Title <String>] [<CommonParameters>]#Parameter set:
PresentationParameters
- IncludeHiddenShapes SwitchParameter
- Include hidden shapes.
- IncludeHiddenSlides SwitchParameter
- Include hidden slides in the HTML review output.
- NoDefaultStyles SwitchParameter
- Do not include OfficeIMO default CSS styles.
- NoExtractionProof SwitchParameter
- Do not include extraction proof metadata.
- NoNotes SwitchParameter
- Do not include presenter notes.
- NoTables SwitchParameter
- Do not include table content.
- OutputPath String
- Optional output HTML path. When omitted, HTML text is returned.
- PassThru SwitchParameter
- Emit a FileInfo when saving to disk.
- Presentation PowerPointPresentation
- Presentation instance to convert.
- Profile OfficePowerPointHtmlProfile
- HTML conversion profile.
- Possible values:
SemanticSlides,VisualReview - Theme OfficeVisualThemeKind
- Built-in HTML document theme.
- Possible values:
Plain,WordLike,TechnicalDocument,GitHubLike,Compact,Report - Title String
- Optional HTML document title.
Outputs
System.String System.IO.FileInfo