The vmware-command options connectdevice and disconnectdevice allow you to connect the following types of devices to your virtual machines and to disconnect them:The command options connect and disconnect a defined ISO or FLP file or a physical device on the host. After you connect a device, its content can be accessed from the Guest OS. For network adapters, the options connect the virtual NIC to its defined port group or disconnect the NIC. This is equivalent to selecting or deselecting the Connected check box in the vSphere Web Client.
■ The virtual machine has a guest operating system that supports hot-plug functionality. See the Operating System Installation documentation.
■ The connectdevice option connects the virtual IDE device CD/DVD Drive 2 to the specified virtual machine.
■ The disconnectdevice option disconnects the virtual device.