Project

PSWriteOffice

PowerShell document automation across Word, Excel, PowerPoint, PDF, Reader, Confluence, Visio, and open text formats.

Stars 159
Forks 14
PowerShell Gallery downloads 158,661
Release v3.0.5
Language: C# Updated: 2026-09-03

API Reference

Cmdlet

Export-OfficePowerPointImage

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointPresentation
Outputs
OfficeIMO.Drawing.OfficeImageExportResult

Exports presentation slides as PNG or SVG images with one result per slide.

Remarks

Exports presentation slides as PNG or SVG images with one result per slide.

Examples

Authored help example

Export visible slides as SVG files.

PS>


Export-OfficePowerPointImage -Path .\Deck.pptx -OutputPath .\Slides -Format Svg
        

Writes one image per selected slide. Add -PassThru to receive the structured export results.

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

Export-OfficePowerPointImage [-Format <Png|Svg|Jpeg|Tiff|Webp>] [-Options <PowerPointPresentationImageExportOptions>] -OutputPath <String> [-PassThru] -Path <String> [<CommonParameters>]
#
Parameter set: Path

Parameters

Format OfficeImageExportFormat optionalposition: namedpipeline: Falsevalues: 5
Output image format.
Possible values: Png, Svg, Jpeg, Tiff, Webp
Options PowerPointPresentationImageExportOptions optionalposition: namedpipeline: False
Optional slide selection, size, scale, theme, and rendering settings.
OutputPath String requiredposition: 1pipeline: False
Destination folder.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit one structured image export result per saved slide.
Path String requiredposition: 0pipeline: False
Path to the presentation.

Outputs

OfficeIMO.Drawing.OfficeImageExportResult

Export-OfficePowerPointImage [-Format <Png|Svg|Jpeg|Tiff|Webp>] [-Options <PowerPointPresentationImageExportOptions>] -OutputPath <String> [-PassThru] -Presentation <PowerPointPresentation> [<CommonParameters>]
#
Parameter set: Presentation

Parameters

Format OfficeImageExportFormat optionalposition: namedpipeline: Falsevalues: 5
Output image format.
Possible values: Png, Svg, Jpeg, Tiff, Webp
Options PowerPointPresentationImageExportOptions optionalposition: namedpipeline: False
Optional slide selection, size, scale, theme, and rendering settings.
OutputPath String requiredposition: 1pipeline: False
Destination folder.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit one structured image export result per saved slide.
Presentation PowerPointPresentation requiredposition: namedpipeline: True (ByValue)
Open presentation instance.

Outputs

OfficeIMO.Drawing.OfficeImageExportResult