The dpmvc-removevmvnic command removes a virtual NIC from a VM.
This command has the following format:
dpmvc removevmvnic [-datacenter_name datacentername] -vm_name vmname -vc_server vcservername -device_key devicekey
(Optional) Specifies the data center where the VM is located.
Specifies the VM.
Specifies the vCenter Server to access when you have multiple vCenter Servers. Optional for single vCenter Server environments.
Integer that specifies the device key of the network interface, for example, 3000.
Example: Remove a vNIC
This example removes a vNIC from a VM.
dpmvc-removevmvnic -vm_name myvm -vc_server myvcserver -device_key 3000
Copyright © 2013 CA. All rights reserved. |
|