Description
Discovery finds resource types that have no corresponding cleanup scripts:
- Empty App Service Plans (5 found) — no
Remove-EmptyAppServicePlans.ps1
- Orphaned NICs (8 found) — no
Remove-OrphanedNICs.ps1
- Empty Load Balancers (2 found) — no
Remove-EmptyLoadBalancers.ps1
- Orphaned Route Tables (0 found, but query exists) — no cleanup script
- Idle SQL databases (13 found via metrics) — no cleanup script
Acceptance Criteria
Description
Discovery finds resource types that have no corresponding cleanup scripts:
Remove-EmptyAppServicePlans.ps1Remove-OrphanedNICs.ps1Remove-EmptyLoadBalancers.ps1Acceptance Criteria
Remove-EmptyAppServicePlans.ps1with -WhatIf, lock check, tag exclusionsRemove-OrphanedNICs.ps1with PE-managed NIC detectionRemove-EmptyLoadBalancers.ps1with SKU-aware priorityInvoke-CleanupDryRun.ps1andInvoke-CleanupExecution.ps1script registries