Private Endpoint PurgeSousChef
Professional PowerShell script that identifies orphaned Azure network resources (NICs and Public IPs) for cost optimization. Turn forgotten network ingredients into delicious monthly savings with chef-styled HTML reports.
-SubscriptionIds @("sub1-id", "sub2-id") `
-AllSubscriptions:$false
-OutputPath "C:\Kitchen\Savings.html"
Professional Network Cost Optimization
Comprehensive detection and reporting for orphaned Azure network resources with chef-themed enterprise features
KQL-Powered Detection
Uses Azure Resource Graph KQL queries for fast, accurate discovery of orphaned NICs and unused Public IPs across all subscriptions
Smart Cost Calculation
Calculates precise monthly and annual savings with current Azure pricing for NICs ($1.50/month) and Public IPs ($3.65/month)
Chef-Styled Reports
Generates beautiful HTML reports with executive summaries, detailed resource tables, and CSV export functionality
Multi-Subscription Support
Scans all accessible subscriptions or targets specific ones with per-subscription breakdown analysis
Lonely NIC Detection
Identifies Network Interface Cards sitting unused and unattached, excluding load balancer attachments to avoid false positives
Public IP Analysis
Discovers unused Public IP addresses that are bleeding money with comprehensive attachment status verification
Enterprise Security
Respects Azure RBAC permissions with comprehensive error handling and secure resource access patterns
Chef-Themed Progress
Engaging console output with cooking metaphors, progress tracking, and colorful status indicators throughout the analysis
Chef's Cooking Instructions
Real-world recipes for network resource optimization and cost savings
Basic Network Bisque Recipe
.\OrphanedNetworkIngredientBisque.ps1
Scans all accessible subscription kitchens to identify lonely NIC lettuce and crying onion Public IPs with comprehensive cost analysis and beautiful reporting.
Custom Subscription Kitchens
.\OrphanedNetworkIngredientBisque.ps1 `
-SubscriptionIds @("sub1-id", "sub2-id") `
-AllSubscriptions:$false
Target specific subscription pantries for focused analysis and cleanup, perfect for large organizations with multiple Azure environments.
Takeaway Version with Custom Plating
.\OrphanedNetworkIngredientBisque.ps1 `
-OutputPath "C:\Kitchen\SavingsMenu.html"
Customize the output location for your cost savings report, perfect for automated reporting pipelines and executive presentations.
Advanced Kitchen Automation
# Schedule monthly kitchen cleaning
# Set up Azure Policy prevention
# Implement resource tagging
Integrate with Azure Automation, Logic Apps, or scheduled tasks for regular network hygiene and proactive cost optimization.
Shopping List & Kitchen Setup
Everything you need to start cooking up network cost savings
Required Ingredients
Kitchen Preparation
Install-Module Az -Force -AllowClobber
Connect-AzAccount
.\OrphanedNetworkIngredientBisque.ps1
Chef's Parameters & Seasoning Options
Customize your network optimization recipe to taste
Parameter | Type | Default | Description |
---|---|---|---|
OutputPath | String | .\Azure_Unattached_Resources_Report.html | Where to serve your final cost savings dish |
AllSubscriptions | Switch | $true | Use all ingredients from every subscription pantry |
SubscriptionIds | String Array | @() | Hand-picked subscription ingredients for focused analysis |
The Final Dish - Sample Output
What you'll receive after running the network optimization bisque
Chef's Console Summary
🍽️ Bisque successfully prepared and plated!
💰 Monthly savings soup ready: $47.30
🎊 Annual savings banquet available: $567.60
🥬 Lonely NIC Lettuce pieces: 12 (wasting $18.00/month)
🧅 Crying Onion Public IPs: 8 (bleeding $29.20/month)
📊 Total forgotten ingredients: 20
🏪 Subscription kitchens inspected: 5
HTML Bisque Report Features
Chef's Pro Tips & Kitchen Accidents
Professional guidance for perfect network optimization every time
Before You Clean Your Kitchen
Common Kitchen Accidents
Connect-AzAccount -TenantId "your-tenant-id"
Ready to Start Cooking Up Savings?
Join thousands of cloud chefs who have optimized their Azure network costs with our delicious automation recipes. Download the script and start saving today!