Evotec

Project

PSWriteOffice

PSWriteOffice is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars 144
Forks 12
Open issues 16
PowerShell Gallery downloads 150,904
Release v0.2.0
Language: C# Updated: 2026-04-06

API Reference

Cmdlet

Save-OfficePowerPoint

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointPresentation
Outputs
System.Object

Saves a presentation to disk.

Remarks

Invokes the PowerPoint service to persist the document and optionally launch it.

Examples

Authored help example

Save and open the deck.

PS>


Save-OfficePowerPoint -Presentation $ppt -Show
        

Saves the current presentation and opens it in PowerPoint.

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

Save-OfficePowerPoint -Presentation <PowerPointPresentation> [-Show] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Presentation PowerPointPresentation requiredposition: namedpipeline: True (ByValue)
Presentation instance to save.
Show SwitchParameter optionalposition: namedpipeline: False
Launch the saved file in the default viewer.

Outputs

System.Object