Monthly Archives: September 2016

PowerShell and Azure pricing for VMs

Here is the quick and dirty way to calculate prices for Azure. By now it is possible to quickly ask and compare prices on core and ram basis. Also it is possible to run more precise queries on all parameters. It is really far from ideal but may help I hope.



Powershell and Azure pricing

Sometimes it is difficult to calculate prices for Azure. Especially when you have a lot of machines. What to do? It is easy:

$request = Invoke-WebRequest -Uri
$offers = $request.Content | ConvertFrom-Json

$offers.offers.'standard-d11v2'.prices | select -Property "us-east*"