# Check Active Directory backup age

Check Active Directory backup age on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

ADEssentials

PowerShell Active Directory helper functions to manage healthy Active Directory

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

Stars**562**

Forks**69**

Open issues**5**

PowerShell Gallery downloads**627126**

Release**v1.0.7**

Language: PowerShell Updated: 2026-11-13

Curated Examples

Use ADEssentials to review the last known Active Directory backup state across a forest or selected domains.

This example is useful when you need a quick recovery-readiness check before broader Active Directory troubleshooting or change work.

It comes from the source example at `Examples/Example.06-CheckLastBackup.ps1`.

## When to use this pattern

- You need to confirm whether Active Directory backups are recent enough.
- You want a forest-wide check before planning changes.
- You need a narrower check for one or more selected domains.

## Example

```powershell
Import-Module .\ADEssentials.psd1 -Force

# Check the whole forest
$LastBackup = Get-WinADLastBackup
$LastBackup | Format-Table -AutoSize

# Check selected domains
$LastBackup = Get-WinADLastBackup -Domain 'corp.example.com', 'child.corp.example.com'
$LastBackup | Format-Table -AutoSize
```

## What this demonstrates

- checking recovery readiness before deeper work
- running both broad and targeted domain checks
- producing a compact table that can be shared with the directory team

## Source

- [Example.06-CheckLastBackup.ps1](https://github.com/EvotecIT/ADEssentials/blob/master/Examples/Example.06-CheckLastBackup.ps1)

<!-- PowerForge markdown artifact sha256:5BD093E83E6DCCFAA7F391B4F1771192A02A26F219219E360C32EB903194C82E -->
