
Get-AzVMAvailability helps you identify which Azure regions have available capacity for your VM deployments. It scans multiple regions in parallel and provides detailed insights into SKU availability, zone restrictions, quota limits, pricing, and image compatibility.
Features:
- Multi-Region Parallel Scanning – Scan 10+ regions in ~15 seconds using concurrent HttpClient-based REST calls
- SKU Filtering – Filter to specific SKUs with wildcard support (e.g.,
Standard_D*_v5) - Lifecycle Recommendations – Run fully autonomous with
-LifecycleRecommendations— no prompts, auto-enables pricing, Excel export, savings plan/reservation details, and quota. Without-LifecycleFile, pulls live VM inventory from Azure via Resource Graph. With-LifecycleFile, loads VMs from a CSV/JSON/XLSX file. Legacy positional form-LifecycleRecommendations .\my-vms.csvis also supported - Live Lifecycle Scan –
-LifecycleScanpulls VM inventory directly from Azure via Resource Graph with management group, resource group, and tag filters - Deployment Mapping –
-SubMap/-RGMapsheets group affected VMs by subscription or resource group with risk enrichment - Pricing Information – Show hourly/monthly pricing (retail or negotiated EA/MCA rates) with optional Savings Plan and Reserved Instance comparisons
- Spot VM Pricing – Include Spot pricing alongside on-demand rates
- Placement Scores – Show allocation likelihood (High/Medium/Low) for each SKU via Azure Spot Placement API
- Image Compatibility – Verify Gen1/Gen2 and x64/ARM64 requirements
- Zone Availability – Per-zone availability details
- Quota Tracking – Available vCPU quota per family
- Multi-Region Matrix – Color-coded comparison view
- Interactive Drill-Down – Explore specific families and SKUs
- Export Options – CSV and styled XLSX with conditional formatting
- JSON Output – Structured JSON for AI agent integration and automation pipelines
- Inventory Readiness – Validate capacity and quota for an entire VM BOM in one command
- Compatibility-Validated Recommendations – Alternatives are validated to meet or exceed the target SKU’s NICs, accelerated networking, premium IO, disk interface, ephemeral OS disk, and Ultra SSD requirements. Data disks and IOPS are scored as soft dimensions
Download the script here:
- Get-AzVMAvailability
A comprehensive PowerShell tool for checking Azure VM SKU availability, capacity status, and quota information across regions
https://github.com/ZacharyLuz/Get-AzVMAvailability

You must be logged in to post a comment.