Cmdlet
Get-OfficeDocumentVisual
Reads visual payloads discovered by OfficeIMO.Reader from a supported document.
Syntax
Get-OfficeDocumentVisual [-AsExport] [-ExcelA1Range <String>] [-ExcelChunkRows <Int32>] [-ExcelSheetName <String>] [-ExcludePowerPointNotes] [-ExcludeWordFootnotes] [-Indented] [-MaxChars <Int32>] [-MaxInputBytes <Int64>] [-MaxTableRows <Int32>] [-NoExcelHeaders] [-NoHashes] [-NoJson] [-NoMarkdownHeadingChunks] [-NoOverwrite] [-NoPayload] [-OpenXmlMaxCharactersInPart <Int64>] [-OutputDirectory <String>] [-Path] <String> [-Reader <OfficeDocumentReader>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Export discovered visual payloads.
$visuals = Get-OfficeDocumentVisual -Path .\Deck.pptx -AsExport -OutputDirectory .\reader-visuals -Indented
$visuals | Select-Object Id, ContentType, PayloadPathExtracts supported visual payloads and writes payload plus metadata sidecars.
Parameters
- -AsExport SwitchParameter
- Return deterministic payload and JSON export bundles instead of visual models.
- -ExcelA1Range String
- Optional Excel A1 range to read.
- -ExcelChunkRows Int32
- Excel rows per emitted worksheet chunk.
- -ExcelSheetName String
- Optional Excel sheet name to read.
- -ExcludePowerPointNotes SwitchParameter
- Exclude PowerPoint speaker notes.
- -ExcludeWordFootnotes SwitchParameter
- Exclude Word footnotes.
- -Indented SwitchParameter
- Indent JSON payloads in export bundles and sidecars.
- -MaxChars Int32
- Maximum emitted chunk characters.
- -MaxInputBytes Int64
- Maximum input size in bytes.
- -MaxTableRows Int32
- Maximum table rows per emitted table.
- -NoExcelHeaders SwitchParameter
- Treat the first Excel row as data instead of headers.
- -NoHashes SwitchParameter
- Disable source and chunk hash computation.
- -NoJson SwitchParameter
- Do not write JSON sidecars when -OutputDirectory is used.
- -NoMarkdownHeadingChunks SwitchParameter
- Do not split Markdown by headings.
- -NoOverwrite SwitchParameter
- Do not overwrite existing sidecar files.
- -NoPayload SwitchParameter
- Do not write raw payload sidecars when -OutputDirectory is used.
- -OpenXmlMaxCharactersInPart Int64
- OpenXML maximum characters per part.
- -OutputDirectory String
- Optional directory where visual sidecars should be written.
- -Path String
- File path to read.
- -Reader OfficeDocumentReader
- Optional immutable OfficeIMO reader with caller-configured handlers and processors.
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.