Intermediatereporting
Azure Private Endpoint Purge SousChef
Professional PowerShell script that identifies orphaned Azure network resources (NICs and Public IPs) for cost optimization. Features KQL-powered detection, beautiful HTML reports, and chef-themed automation that transforms forgotten network ingredients into delicious monthly savings.
β±οΈ Prep Time:15 minutes setup + automated monthly runs
π§© Difficulty:Intermediate
π What It Does
- π² Orphaned Network Ingredient Bisque recipe that identifies lonely NIC lettuce and crying onion Public IPs
- π KQL-powered detection using Azure Resource Graph for fast, accurate discovery across all subscriptions
- π° Smart cost calculation engine with current Azure pricing ($1.50/month NICs, $3.65/month Public IPs)
- π Beautiful chef-styled HTML reports with executive summaries and detailed resource tables
- π CSV export functionality for spreadsheet analysis and further processing
- π’ Multi-subscription support with per-subscription breakdown analysis and kitchen inspection
- π‘οΈ Enterprise security with Azure RBAC compliance and comprehensive error handling
- π¨ Chef-themed progress indicators and engaging console output throughout the cooking process
βοΈ Requirements Checklist
- β PowerShell 5.1+ or PowerShell Core 6.0+ for running the network optimization recipes
- β Azure PowerShell modules: Az.Accounts, Az.ResourceGraph, Az.Billing for cloud connectivity
- β Azure Reader role on target subscriptions for resource discovery and analysis
- β Resource Graph Reader permissions for Microsoft.ResourceGraph/resources/read access
- β Active Azure account with appropriate tenant access for multi-subscription scanning
π Talk Nerdy Tip:
Run monthly for freshest results and set up automated alerts for resources unused > 30 days. Always taste before you tossβverify resources are truly unused before cleanup. Like maintaining a clean kitchen, regular network hygiene prevents waste accumulation. π¨βπ³
azure-network-cleanuporphaned-nic-detectionunused-public-ipazure-cost-optimizationnetwork-resource-managementpowershell-automationresource-graph-queriesnetwork-waste-detectionazure-finopschef-themed-reports