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 *

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  
Scroll to Top