Cmdlet
ConvertFrom-OfficeOpenDocument
Converts native ODT, ODS, or ODP content to Word, Excel, or PowerPoint with fidelity evidence.
Syntax
ConvertFrom-OfficeOpenDocument
[-ExcelOptions <ExcelOpenDocumentConversionOptions>]
[-FailOnLoss]
[-OutputPath] <String>
[-Path] <String>
[-PowerPointOptions <PowerPointOpenDocumentConversionOptions>]
[-WordOptions <WordOpenDocumentConversionOptions>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Convert an ODS spreadsheet to Excel.
$options = New-OfficeExcelOpenDocumentOptions -IncludeBasicStyles -MaximumExpandedCells 250000
ConvertFrom-OfficeOpenDocument -Path .\Status.ods -OutputPath .\Status.xlsx -ExcelOptions $optionsParameters
- -ExcelOptions ExcelOpenDocumentConversionOptions
- Optional ODS-to-Excel conversion settings.
- -FailOnLoss SwitchParameter
- Throw when the conversion approximates, skips, or cannot map a feature.
- -OutputPath String
- Destination DOCX, XLSX, or PPTX path.
- -Path String
- Path to an ODT, ODS, or ODP file.
- -PowerPointOptions PowerPointOpenDocumentConversionOptions
- Optional ODP-to-PowerPoint conversion settings.
- -WordOptions WordOpenDocumentConversionOptions
- Optional ODT-to-Word conversion settings.
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.