# Install and Verify PSWriteOffice

Install the module, confirm the command surface, and choose a safe output location. Includes PowerShell examples, validation notes, and cmdlet links.

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

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

Confirm what was loaded:

```powershell
$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:

```powershell
$outputRoot = Join-Path $PSScriptRoot 'Output'
$null = New-Item -ItemType Directory -Path $outputRoot -Force
$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

- [Choose a workflow](/docs/pswriteoffice/choosing-a-workflow/)
- [Browse command families](/docs/pswriteoffice/command-families/)
- [Open the example gallery](https://github.com/EvotecIT/OfficeIMO/tree/105ae88c45f6be3bb2020384e25ffe61d990451b/PowerShell/PSWriteOffice/Examples)

<!-- PowerForge markdown source sha256:49B758C68DD1287DF5CDA5B89EF17E3144A3B3203B7D1E19D9D31BFCBC769537; title=True -->

<!-- PowerForge markdown artifact sha256:1A1AE9CF6096ECE680F28EB84D1034A3E316DB1321C7CB30ADA62EEDFC23BD03 -->
