# Back up disabled or empty GPOs

Back up disabled or empty GPOs on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

GPOZaurr

GPOZaurr helps inspect, report on, and remediate Group Policy environments with PowerShell.

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

Stars**1257**

Forks**121**

Open issues**15**

PowerShell Gallery downloads**421558**

Release**v1.1.13**

Language: PowerShell Updated: 2026-10-30

Curated Examples

Back up selected Group Policy Objects and verify the resulting backup set.

This example shows a practical starting point for cleaning up or reviewing older Group Policy environments before deeper remediation work.

It comes from the source example at `Examples/Example-01-BackupGPOs.ps1`.

## When to use this pattern

- You want to back up stale or disabled GPOs before any cleanup work.
- You need a quick inventory of what was actually exported.
- You want a repeatable backup step before broader Group Policy review.

## Example

```powershell
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force

$GPOSummary = Backup-GPOZaurr `
    -BackupPath "$Env:UserProfile\Desktop\GPO" `
    -Verbose `
    -Type Disabled, Empty `
    -IncludeDomains 'corp.example.com'

$GPOSummary | Format-Table -AutoSize

if ($GPOSummary) {
    Get-GPOZaurrBackupInformation -BackupFolder $GPOSummary[0].BackupDirectory | Format-Table -AutoSize
}
```

## What this demonstrates

- targeted GPO backup instead of exporting everything blindly
- focusing on disabled or empty policies first
- validating the produced backup set after the export

## Source

- [Example-01-BackupGPOs.ps1](https://github.com/EvotecIT/GPOZaurr/blob/master/Examples/Example-01-BackupGPOs.ps1)

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