# Generate Active Directory documentation

Generate Active Directory documentation on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSWinDocumentation

PowerShell Module that creates Word/Excel/SQL documentation from Active Directory (AD), AWS, Office 365 and others. It's a work in progress!

[View on GitHub](https://github.com/EvotecIT/PSWinDocumentation) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWinDocumentation/releases/tag/v0.5.4) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWinDocumentation)

Stars**260**

Forks**42**

Open issues**0**

PowerShell Gallery downloads**45808**

Release**v0.5.3**

Language: PowerShell Updated: 2026-02-14

Curated Examples

Use PSWinDocumentation to generate Word and HTML documentation output.

This pattern is useful when the older PSWinDocumentation workflow is already part of an environment.

It is adapted from `Examples/Run-Oneliner-ActiveDirectory.ps1`.

## Example

```powershell
Import-Module PSWinDocumentation

$outputBase = Join-Path $PSScriptRoot 'Output\ADDocumentation'
New-Item -ItemType Directory -Path (Split-Path $outputBase) -Force | Out-Null

Invoke-Documentation -Service ActiveDirectory -Output Word, HTML -FilePath $outputBase
```

## What this demonstrates

- using the high-level documentation command
- generating both Word and HTML output
- keeping generated files under a script-local output folder

## Source

- [Run-Oneliner-ActiveDirectory.ps1](https://github.com/EvotecIT/PSWinDocumentation/blob/master/Examples/Run-Oneliner-ActiveDirectory.ps1)

<!-- PowerForge markdown artifact sha256:CC7429534266D02F5AE7C5D507DA1A44E387DFAD40C822B928188B646B922710 -->
