If you deployed a VM using the new Resource Manager mode in Azure and need to find the IP and if it is static you may have ran across the “Get-AzureVM” command as an option to retrieve IP information. This command is for “Clasic” mode and won’t work in Resource Manager mode.
To get IP information including the internal IP and if it is set dynamic or static, use this command:
Get-AzureRmNetworkInterface -name <NIC_Name> -ResourceGroupName <NIC_ResourceGroup>
Notice that this does not specify the VM Name, it specifies the NIC attached to the VM. The output will give you the IP address and indicate if it is static or dynamic.