- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
you have to actually search the inventory for the VM with the given name (be careful, there might be not unique!).
For the you can use VcPlugin.getAllVirtualMachines() with an xpath filter in a scriptable task,
or the Action com.vmware.library.vc.vm.getAllVMsMatchingRegexp from the library.
Also have a look at these resources:
http://www.vmwarelearning.com/orchestrator
Case insensitive search for VM by name (the examples here actually should solve your problem)
cheers,
Joerg