Add/remove NICs post creation to Azure VMs

Add/remove NICs post creation to Azure VMs

Q. Can I add/remove NICs from an Azure VM post creation?

A. Yes. Per article https://docs.microsoft.com/en-us/azure/virtual-machines/windows/multiple-nics it is possible to add and remove NICs from a VM. The process is as follows:

  1. Deallocate the VM (i.e. stop-azurermvm or stop from the Azure portal)
  2. Add or remove the NIC using Add-AzureRmVMNetworkInterface or Remove-AzureRmVMNetworkInterface
  3. Start the VM

Note that the number of NICs supported depends on the VM size.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish