I was trying to create a VM with Azure Powershell. I was wondering what and where to found the VM versions and names.

Whith this script, you can have a list of all available publishers, offers, skus, and versions of virtual machines. This aims to simplify your Azure deployment, using powershell scripts to create your environment.

You will need Azure Powershell and an active connection to your Azure subscription.

You can write a star “*” to show all Publishers and Offers/SKUS/Versions.

An example of the output :

 

The script

 

Resources

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/cli-ps-findimage