automation

PSWriteOffice

MIT-licensed PowerShell document automation for Word, Excel, PowerPoint, PDF, email, PST/OST, OneNote, Visio, OpenDocument, and mixed-format Reader workflows.
158 stars14 forksC#Updated 8/12/2026100% free · open source
What it does

PSWriteOffice is a PowerShell module that automates document workflows for various file formats, including Word, Excel, PowerPoint, and PDF, among others.

When to use it
  • When you need to automate repetitive document tasks, such as generating reports or creating templates.
  • When you want to integrate document automation with other PowerShell scripts or workflows.
  • When you require a flexible and customizable solution for document processing and manipulation.
Ready-to-paste prompt
New-WordDocument -FilePath 'C:\\example.docx'; Add-WordText -Text 'Hello, World!'; Add-WordTable -DataTable (Get-Process | Select-Object -First 10); Save-WordDocument
Heads up: Make sure you have the necessary permissions and dependencies installed, including Microsoft Office, to use PSWriteOffice, and be aware that some features may require specific versions of Office or PowerShell.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/pswriteoffice && curl -fsSL https://workflowstacks.com/api/skills/pswriteoffice/claude-skill -o ~/.claude/skills/pswriteoffice/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How PSWriteOffice works
Codeflow
Free to inspect

PSWriteOffice is a very large C# project (~91k lines across 952 code files, plus 37 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, MIT license, has a test suite.

Size
Very large codebase
~91k lines · 952 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
C#
No API keys detected
C# 70%PowerShell 30%
Where to start reading
  1. 1
    README.MD
    Start here — what it does and how to install it
  2. 2
    Examples/Confluence/Example-ConfluenceAzureTableReport.ps1
    A worked example — copy this to get going
What's in each folder
Docs/Documentation538 files
Examples/Examples you can copy149 files
Sources/Folder670 files
WebsiteArtifacts/Folder154 files
Website/Project website58 files
Benchmarks/Evaluations & benchmarks14 files
Tests/Tests — proof it works40 files
.github/CI / automation (GitHub Actions)4 files
READMEHas testsDocumentedCI checksExamples includedMIT licenseUpdated this month
Quick Actions
Details
Creator
EvotecIT
Language
C#
Category
automation
Published
4/11/2021

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.