Bulk upgrade Azure VMs to Ubuntu Pro

Need to flip many Azure VMs to Ubuntu Pro? Use this script:

It’s a simple shell script that automates the whole process: finding the tagged VMs, updating their license type on Azure, and enabling the Pro client.