Q. How can I view all VMs in Azure that are in a Virtual Network?
A. I recommend always placing Azure VMs in an explicitly created virtual network which gives full control of the IP address space used and DNS configuration. To check what VMs are in a virtual network use the following PowerShell.