For system, network and cloud administrators

How to view Azure virtual machine details using Azure CLI

After creating your Azure virtual machine, you might want to view as much information about it. You can do this by using:

az vm show --name YourVMName --resource-group YourResourceGroup