# Collect forest data

Collect forest data on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSWinDocumentation.AD

PowerShell module delivering a lot of Active Directory Forest/Domain information

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

Stars**134**

Forks**24**

Open issues**0**

PowerShell Gallery downloads**124213**

Release**v0.1.20**

Language: PowerShell Updated: 2026-02-14

Curated Examples

Use PSWinDocumentation.AD to collect forest information for reporting.

This pattern is useful when you need a broad Active Directory data object before deciding how to render it.

It is adapted from `Examples/Example-01-GetForestData.ps1`.

## Example

```powershell
Import-Module PSWinDocumentation.AD

$forest = Get-WinADForestInformation -Verbose -PasswordQuality -DontRemoveEmpty -Parallel -Splitter "`r`n"
$forest.Keys | Sort-Object
```

## What this demonstrates

- collecting forest-level Active Directory data
- including password-quality data when available
- keeping the data object available for later reporting

## Source

- [Example-01-GetForestData.ps1](https://github.com/EvotecIT/PSWinDocumentation.AD/blob/master/Examples/Example-01-GetForestData.ps1)

<!-- PowerForge markdown artifact sha256:59C7E9D20A81338E577C2275D720280CE4B1FC6828F15E315DAA0D8FA6ACF343 -->
