# Get-OfficeDocumentStructured

Extracts a bounded schema-friendly view of a supported document.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`System.String`

**Outputs**

`OfficeIMO.Reader.OfficeDocumentStructuredExtractionResult`

**Source**

[GetOfficeDocumentStructuredCommand.cs:16](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Reader/GetOfficeDocumentStructuredCommand.cs#L16) 

Extracts a bounded schema-friendly view of a supported document.

## Syntax

```
Get-OfficeDocumentStructured
[-ExtractionOptions <OfficeDocumentStructuredExtractionOptions>]
[-Path] <String>
[-Reader <OfficeDocumentReader>]
[-ReaderOptions <ReaderOptions>]
[<CommonParameters>]
```

[#](#method-get-officedocumentstructured-officedocumentstructuredextractionoptions-string-officedocumentreader-readeroptions)

Parameter set: `All Parameter Sets`

## Examples

### Extract sections, tables, forms, and scalar records.

```powershell
$result = Get-OfficeDocumentStructured -Path .\report.docx; $result.Records | Group-Object Category
```

Returns deterministic structured records and source diagnostics without format-specific parsing.

## Parameters

**-ExtractionOptions OfficeDocumentStructuredExtractionOptions optional**

Optional structured extraction categories and limits.

**-Path String requiredposition: 0pipeline: True (ByValue)**

Path to read.

**-Reader OfficeDocumentReader optional**

Optional immutable OfficeIMO reader with caller-configured handlers and processors.

**-ReaderOptions ReaderOptions optional**

Optional source-reading limits and format behavior.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:4EE1D9EFB0E256D05CB164F8C45C38B6A5A4A489C67D3236D18E07B0236049E9 -->
