Cmdlet
Save-OfficePowerPoint
Saves a live presentation without closing it.
Syntax
Save-OfficePowerPoint
[-AllowLoss]
[-Document] <PowerPointDocument>
[-PassThru]
[-Password <SecureString>]
[-Path <String>]
[-Show]
[<CommonParameters>]#Parameter set:
DocumentDescription
Uses the supplied path or the document's associated destination. Omitted Password preserves loaded encryption. PassThru returns the saved FileInfo.
Examples
Save a live document to a new destination.
$deck = New-OfficePowerPoint
Save-OfficePowerPoint -Document $deck -Path ./Review.pptx -PassThru
Close-OfficePowerPoint -Document $deckParameters
- -AllowLoss SwitchParameter
- Explicitly accept reported native-save reductions.
- -Document PowerPointDocument
- Live presentation to save.
- -PassThru SwitchParameter
- Return the saved FileInfo.
- -Password SecureString
- Override the output password; omission preserves the document's loaded encryption.
- -Path String
- Optional new destination; omission uses the associated path.
- -Show SwitchParameter
- Open the saved file in its registered default application.
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.