Static IP and Azure Resource Manager

Static IP and Azure Resource Manager

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>

Untitled picture

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.

Leave a Comment

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

January 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
Scroll to Top