Project

PSWriteOffice

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

Stars156
Forks14
Open issues1
PowerShell Gallery downloads158661
Releasev3.0.0
Language: C# Updated: 2026-07-27T17:26:06.0000000+00:00

Documentation

Install and Verify PSWriteOffice

Install the module, confirm the command surface, and choose a safe output location.

Install PSWriteOffice from the PowerShell Gallery before trying the curated document automation examples.

Install-Module -Name PSWriteOffice -Scope CurrentUser
Import-Module PSWriteOffice

Confirm what was loaded:

$module = Get-Module PSWriteOffice
$module.Version

Get-Command -Module PSWriteOffice |
    Group-Object Noun |
    Sort-Object Count -Descending |
    Select-Object -First 12 Count, Name

PSWriteOffice does not require Microsoft Office for its managed document workflows. Individual optional integrations can still have their own platform, native library, authentication, or external-process requirements; check the relevant guide before deploying a broad conversion or OCR workflow.

Use predictable output paths

Examples should write to a script-local or explicitly configured artifact directory:

$outputRoot = Join-Path $PSScriptRoot 'Output'
New-Item -ItemType Directory -Path $outputRoot -Force | Out-Null

$wordPath = Join-Path $outputRoot 'Report.docx'
$pdfPath = Join-Path $outputRoot 'Report.pdf'

This makes cleanup, CI artifact upload, and permissions easier to reason about than relying on the current working directory.

Next steps