CmdID / az / az vm / az vm nic
az vm nic remove
Remove NICs from a VM. Azure CLI reference
1 example Its page in the Azure CLI reference
Examples
Remove two NICs from a VM.
az vm nic remove -g MyResourceGroup --vm-name MyVm --nics nic_name1 nic_name2Identify-gName of resource group.--vm-nameThe name of the Virtual Machine.--nicsNames or IDs of NICs.