How evotecit/cleanupmonster works
CleanupMonster is a PowerShell module for deliberate, reviewable cleanup of Active Directory objects and stale cloud device records. Administrators invoke one of four cleanup commands; each path begins with discovery and reporting, then supports its domain-specific actions and safeguards. The README documents the workflows and integrations, but no source excerpts were provided, so the graph reflects documented relationships only; implementation-level calls and data transfers are not verified.
Main entry points: Invoke-ADComputersCleanup.ps1 Computer cleanup · Invoke-CloudDevicesCleanup.ps1 Cloud-device cleanup · Invoke-ADServiceAccountsCleanup.ps1 Service-account cleanup · Invoke-ADSIDHistoryCleanup.ps1 SID history cleanup
Components 19
Computer cleanup
- Computer cleanup
Public/Invoke-ADComputersCleanup.ps1 - Discovery and review
Private - Computer actions
Private
Cloud-device cleanup
- Cloud-device cleanup
Public/Invoke-CloudDevicesCleanup.ps1 - Discovery and review
Private - Cloud-device actions
Private
Service-account cleanup
- Service-account cleanup
Public/Invoke-ADServiceAccountsCleanup.ps1 - Discovery and review
Private - Service-account actions
Private
SID history cleanup
- SID history cleanup
Public/Invoke-ADSIDHistoryCleanup.ps1 - Discovery and review
Private - SID history removal
Private
Other components
- Administrator
- Active Directory
- Azure AD
- Intune
- Jamf
- Microsoft Entra
- HTML reports
Private
Connections 24
- Administrator → Computer cleanup: invokes
README.MD - Computer cleanup → Discovery and review: starts with discovery
README.MD - Computer cleanup → Computer actions: supports cleanup actions
README.MD - Computer cleanup → Active Directory: cleans objects
README.MD - Computer cleanup → Azure AD: may cross-check
README.MD - Computer cleanup → Intune: may cross-check
README.MD - Computer cleanup → Jamf: may cross-check
README.MD - Discovery and review → HTML reports: generates review
README.MD - Administrator → Cloud-device cleanup: invokes
README.MD - Cloud-device cleanup → Discovery and review: starts with discovery
README.MD - Cloud-device cleanup → Cloud-device actions: supports cleanup actions
README.MD - Cloud-device cleanup → Intune: retires devices
README.MD - Cloud-device cleanup → Microsoft Entra: disables or deletes
README.MD - Discovery and review → HTML reports: generates review
README.MD - Administrator → Service-account cleanup: invokes
README.MD - Service-account cleanup → Discovery and review: starts with discovery
README.MD - Service-account cleanup → Service-account actions: supports cleanup actions
README.MD - Service-account cleanup → Active Directory: cleans objects
README.MD - Discovery and review → HTML reports: generates review
README.MD - Administrator → SID history cleanup: invokes
README.MD - SID history cleanup → Discovery and review: starts with discovery
README.MD - SID history cleanup → SID history removal: removes legacy entries
README.MD - SID history cleanup → Active Directory: cleans history
README.MD - Discovery and review → HTML reports: generates review
README.MD