Tag Archives: cli

Check availability of App Service Plan in your region

Let’s say you want to upgrade your App Service Plan to a higher tier but first you want to check which regions support the given VM size. You can click through the Azure website for that information or you can use the Azure CLI.

az appservice list-locations --sku P5mv3

The code above gets which regions have P5mv3 VMs. To look for SKU-s, you can visit Azure’s App Service Plan pricing page.

Find out executable resolve path

When we run a command like python --version from CLI, Windows looks for python.exe from the “Environment Variables”, specifically checks the PATH variable. If you want to know from where the executable got resolved, you can use a handy utility called where.exe:

where python

Of course, we can where the where🙂

where where

Happy coding!