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!

Stars256
Forks42
Open issues13
PowerShell Gallery downloads45749
Releasev0.5.4
Language: PowerShell Updated: 2026-02-14T21:19:26.0000000+00:00

Curated Examples

Generate Active Directory documentation

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

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