OfficeIMO

API Reference

Command

Get-OfficePowerPoint

Namespace PSWriteOffice
Inputs
None
Outputs
System.Object

Loads an existing PowerPoint presentation.

Remarks

Loads an existing PowerPoint presentation.

Examples

Open a deck for editing.


PS>$ppt = Get-OfficePowerPoint -FilePath .\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 -FilePath <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

FilePath String requiredposition: namedpipeline: False
Path to the .pptx file.

Outputs

System.Object