Question - Create a Virtual Machine with Azure CLI.
Answer -
Following is an example how one can create a VM using Azure CLI:
az vm create \
--resource-group myResourceGroupName \
--name myVM \
--image Win19Datacenter \
--public-ip-sku Standard \
--admin-username AzureuserNAME \
--admin-password AzurePASSWORD