In this post, you will learn how to create a report to retrieve the virtual machine (VM) name, the IP address, and the guest OS hostname of every Azure VM using PowerShell. I'll explain how to do this for Azure classic and Azure Resource Manager (ARM). Let's start with the classic model. Configuring VM networks in Azure is very similar to on-premises solutions such as Hyper-V. Each VM is assigned to at least one virtual network interface and can't serve as a standalone instance.