Cmdlet
Get-OfficeIWork
Reads a modern Apple Pages, Numbers, or Keynote package without launching iWork.
Syntax
Get-OfficeIWork
[-Kind <Pages| Numbers| Keynote>]
[-Options <IWorkReadOptions>]
[-Path] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Inspect an iWork source before deciding how to convert it.
$source = Get-OfficeIWork -Path .\Quarterly.numbers
$source | Select-Object Kind, ContainerKind, BuildVersions
$source.ReadNumbers().Sheets | Select-Object NameReturns OfficeIMO's bounded, loss-aware source model.
Parameters
- -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.
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.