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

Build Bounded Document Ingestion Pipelines

Scan selected document formats, collect ingestion summaries, and feed structured chunks into downstream indexing or analysis systems.

Get-OfficeDocumentIngest combines folder discovery and document reading into one bounded operation. It reports files scanned, files parsed, chunks produced, and errors instead of forcing every caller to rebuild the same orchestration.

Select the corpus

$result = Get-OfficeDocumentIngest -FolderPath '.\Knowledge' `
    -Extension docx,pdf,md,html,json,yaml `
    -MaxFiles 1000 -MaxTotalBytes 2GB

Use -NoRecurse for a single controlled directory. Extension filters keep unrelated files outside the parser path. Reader options and content bounds should match the same policy used by search and chunk extraction.

The ingest-folder recipe ingests supported documents from a simple .\Documents folder.

Keep indexing, embeddings, databases, or network publication outside the Reader command. Reader owns deterministic document extraction; the downstream system owns storage and retrieval policy.