For system, network and cloud administrators
If you need to know what’s the admin username of a particular Azure virtual machine, use:
az vm show --resource-group YourResourceGroup --name YourVMName --query "osProfile.adminUsername"
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.