Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Export-OfficePowerPointImage

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

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

Syntax

Export-OfficePowerPointImage
[-Format <OfficeImageExportFormat>]
[-Options <PowerPointPresentationImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[-Path] <String>
[<CommonParameters>]
#
Parameter set: Path
Export-OfficePowerPointImage
[-Format <OfficeImageExportFormat>]
[-Options <PowerPointPresentationImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
-Presentation <PowerPointPresentation>
[<CommonParameters>]
#
Parameter set: Presentation

Examples

Export visible slides as SVG files.

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

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

Parameters

-Format OfficeImageExportFormat optional
Output image format.
Possible values: Png, Svg, Jpeg, Tiff, Webp, Bmp, Pbm, Tga, Icon
-Options PowerPointPresentationImageExportOptions optional
Optional slide selection, size, scale, theme, and rendering settings.
-OutputPath String requiredposition: 1
Destination folder.
-PassThru SwitchParameter optional
Emit one structured image export result per saved slide.
-Path String requiredposition: 0sets: Path
Path to the presentation.
-Presentation PowerPointPresentation requiredpipeline: True (ByValue)sets: Presentation
Open presentation instance.

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.