For system, network and cloud administrators

How to list the public and private IP of an Azure virtual machine using Azure CLI

After creating an Azure virtual machine, you can view its public and private IP by using:

az vm list-ip-addresses --name YourVMName -o table

Leave a Reply

Your email address will not be published. Required fields are marked *