Cmdlet
Save-OfficeOpenDocument
Saves a native OpenDocument model with entry-level preservation diagnostics.
Syntax
Save-OfficeOpenDocument -Document <OdfDocument> [-FailOnLoss] [-Options <OdfSaveOptions>] [-PassThru] [-Path] <String> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
EXAMPLE 1
Save-OfficeOpenDocument -Path 'C:\Path' -Document 'Value'Parameters
- -Document OdfDocument
- OpenDocument model to save.
- -FailOnLoss SwitchParameter
- Throw when source entries cannot be preserved losslessly.
- -Options OdfSaveOptions
- Optional package save and preservation settings.
- -PassThru SwitchParameter
- Emit the save result, including preservation diagnostics.
- -Path String
- Destination path.
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.