Documentation
PSWriteOffice Overview
When to use PSWriteOffice and what it covers.
Use PSWriteOffice when a PowerShell workflow needs to create, convert, inspect, or publish Office-style documents without automating the Office desktop applications.
It is the PowerShell-facing layer over OfficeIMO and is useful for Word reports, Excel workbooks, PowerPoint decks, PDFs, RTF documents, Markdown and CSV workflows, Visio diagrams, and unified readback through Reader adapters.
Common tasks
- Generate Word documents from structured data, including sections, headers, footers, tables, charts, and conversion bridges.
- Build Excel workbooks with tables, ranges, formulas, charts, pivots, comments, images, links, and navigation sheets.
- Create PowerPoint decks for repeatable status reporting with slide notes, sections, copying, import, transitions, themes, and layouts.
- Compose and inspect PDFs, including merge/split workflows, metadata, stamps, forms, attachments, extraction, and compliance checks.
- Create, read, update, and convert RTF files, including Word/HTML/PDF bridge workflows.
- Read existing files through Reader chunks, document envelopes, tables, visuals, assets, and ingest pipelines for Word, Excel, PowerPoint, Markdown, PDF, RTF, HTML, CSV, JSON, XML, YAML, ZIP, EPUB, Visio, and text-like files.
- Generate Visio
.vsdxdiagrams with a PowerShell DSL, stencils, inspection, reference galleries, stencil preview galleries, and SVG/PNG export.