Project

CleanupMonster

This module provides an easy way to cleanup Active Directory from dead/old objects based on various criteria. It can also disable, move or delete objects. It can utilize Azure AD, Intune and Jamf to get additional information about objects before deleting them.

Stars138
Forks18
Open issues0
PowerShell Gallery downloads25529
Releasev3.1.7
Language: PowerShell Updated: 2026-03-10T14:49:12.0000000+00:00

Documentation

Install CleanupMonster

Install CleanupMonster from PowerShell Gallery.

Install CleanupMonster from PowerShell Gallery:

Install-Module -Name CleanupMonster -Scope CurrentUser

Import the module before running cleanup discovery:

Import-Module CleanupMonster

Use an account that can read the Active Directory attributes your cleanup policy relies on. In hardened environments, even reporting-only runs may require delegated permissions.