Project

PSWriteOffice

PSWriteOffice is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars158
Forks14
Open issues0
PowerShell Gallery downloads158661
Releasev3.0.5
Language: C# Updated: 2026-08-20T06:15:04.0000000+00:00

Documentation

Extract Document Chunks, Tables, and Assets

Produce semantic chunks, structured table exports, page Markdown, hierarchy, and embedded assets for downstream processing.

Reader extraction turns supported files into stable intermediate structures. That is useful for search indexes, retrieval systems, review sidecars, data migration, and document inventories.

Chunk content

Get-OfficeDocumentChunk emits bounded text chunks with location and provenance. Format-specific options control Word notes, PowerPoint notes, Excel headers and row groups, Markdown heading chunks, hashes, and maximum content sizes.

Materialize tables

Get-OfficeDocumentTable returns structured tables. -AsExport produces CSV, Markdown, and JSON representations in memory; -OutputDirectory writes deterministic sidecars. Get-OfficeDocumentAsset similarly exposes or materializes embedded images and other supported assets.

The extract-tables recipe creates a Markdown table, reads it as structured data, writes its sidecars, and returns semantic chunks.

Choose limits from the downstream contract. A search preview, an embedding pipeline, and a complete archival export need different chunk and table bounds.