API Reference
Cmdlet
ConvertFrom-OfficeIWork
Converts Pages, Numbers, or Keynote into the matching editable Microsoft Office format.
Remarks
The conversion reports what was reconstructed and what remains iWork-specific instead of implying lossless parity.
Examples
Convert Numbers to Excel and retain fidelity evidence.
PS>
$report = ConvertFrom-OfficeIWork -Path .\Quarterly.numbers -OutputPath .\Quarterly.xlsx -PassThruReport
$report | Select-Object SourceKind, ProjectionKind, ReconstructedItemCount, HasLoss
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
ConvertFrom-OfficeIWork [-ConversionOptions <IWorkConversionOptions>] [-FailOnLoss] [-Force] -OutputPath <String> [-PassThruReport] -Path <String> [-ReadOptions <IWorkReadOptions>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- ConversionOptions IWorkConversionOptions
- Editable-reconstruction or visual-fallback policy.
- FailOnLoss SwitchParameter
- Fail when source structures are flattened, omitted, or retained only as preserved records.
- Force SwitchParameter
- Overwrite an existing destination.
- OutputPath String
- Destination DOCX, XLSX, or PPTX path matching the detected iWork application.
- PassThruReport SwitchParameter
- Return the loss-aware conversion report instead of file information.
- Path String
- Path to a modern Pages, Numbers, or Keynote package or directory bundle.
- ReadOptions IWorkReadOptions
- Bounded OfficeIMO iWork read options.
Outputs
System.IO.FileInfo, OfficeIMO.IWork.IWorkConversionReport