Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Just wondering if anybody knows is there any script for vmware to attach or detach USB device?

share|improve this question
    
I have often wondered the same thing about ESX/Vsphere. Good Question. –  kyoung Feb 10 '10 at 16:42
    
Which VMware product are you referring to? Workstation, Fusion, Server, ESX, vSphere... –  Eric3 Feb 10 '10 at 16:59
    
Any of it. It will be great to find such script for any product. –  antonyZ Feb 10 '10 at 18:00
    
But it is workstation. –  antonyZ Feb 10 '10 at 18:22

1 Answer 1

I can't see anything in the VIX API reference about USB: VIX API Reference

So my guess is that with the VIX api alone the answer is no you cannot do this.

This product powerwf says:

PowerWF Studio for VMware is a suite of tools for automating and administering virtual machine operations and the guests within virtual machines. Leveraging the VMware's VIX API plus several other PowerWF activities packs, PowerWF Studio for VMware offers levels of automation typically only seen in enterprise class solutions. The product supports management of VMware Server, Workstation, Player, and Virtual Infrastructure (both ESX and vCenter).

There might be such a capability in their "activity packs". I've never used it so that's just a guess but it looks like they have a free download so might be worth a look.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.