Project

PSWinDocumentation.AD

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

Stars135
Forks23
Open issues5
PowerShell Gallery downloads124040
Releasev0.1.20
Language: PowerShell Updated: 2026-02-14T21:44:57.0000000+00:00

Curated Examples

Collect forest data

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

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