Cmdlet
Get-OfficePowerPoint
Loads an existing PowerPoint presentation.
Syntax
Get-OfficePowerPoint
[-Password <String>]
-Path <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Returns an OfficeIMO PowerPointPresentation for downstream slide operations.
Examples
Open a deck for editing.
$ppt = Get-OfficePowerPoint -Path .\Quarterly.pptxReads Quarterly.pptx and exposes the presentation object.
Parameters
- -Password String
- Password used to open an encrypted presentation package.
- -Path String
- Path to the .pptx file.
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.