vsphere PowerCLI re-attach USB Device
Posted on 2013-06-18
every Day the external USB Device (Harddisc) moved out of the Server Room away from the ESXi 4.1 host.
Actual exists 2 different USB Harddisc, changed every day.
The VM could not reconnect the changed USB Harddisk; the Status is: "diconnected".
The USB Controller is still alive, an "Auto connect" is "enabled". In vSphere Client I must re-define the USB change ("accessible device") by adding a new USB Device :-(
I'm wondering if there is not a possibility in scripting with PowerCLI. I found many code snippets in view the existing VM-USB Controller (i.e. Get-UsbDevice -VM *), but none to re-connect a existing accessible Device.
thx && Best regards