API Reference
Cmdlet
Get-OfficeIWork
Reads a modern Apple Pages, Numbers, or Keynote package without launching iWork.
Remarks
Reads a modern Apple Pages, Numbers, or Keynote package without launching iWork.
Examples
Inspect an iWork source before deciding how to convert it.
PS>
$source = Get-OfficeIWork -Path .\Quarterly.numbers
$source | Select-Object Kind, ContainerKind, BuildVersions
$source.ReadNumbers().Sheets | Select-Object Name
Returns OfficeIMO's bounded, loss-aware source model.
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
Get-OfficeIWork [-Kind <Pages|Numbers|Keynote>] [-Options <IWorkReadOptions>] -Path <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Kind IWorkDocumentKind
- Optional expected application kind; a mismatch is rejected.
- Possible values:
Pages,Numbers,Keynote - Options IWorkReadOptions
- Bounded OfficeIMO iWork read options.
- Path String
- Path to a modern Pages, Numbers, or Keynote package or directory bundle.
Outputs
OfficeIMO.IWork.IWorkSourceDocument