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

Get-OfficePowerPoint

Loads an existing PowerPoint presentation.

Remarks

Returns an OfficeIMO PowerPointPresentation for downstream slide operations.

Examples

Authored help example

Open a deck for editing.

PS>


$ppt = Get-OfficePowerPoint -Path .\Quarterly.pptx
        

Reads Quarterly.pptx and exposes the presentation object.

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

Get-OfficePowerPoint [-Password <String>] -Path <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Password String optionalposition: namedpipeline: False
Password used to open an encrypted presentation package.
Path String requiredposition: namedpipeline: Falsealiases: FilePath
Path to the .pptx file.