VMware Cloud Community
tomford
Contributor
Contributor

Pull VMs from datastores

I was hoping to pull VMs off a group of specific datastores.. just a list of VMs, the CPU, memory and disk sizes.. So far I've not been able to figure a way out..

I'm running 5.7.2

Any help is greatly appreciated.

Reply
0 Kudos
6 Replies
gradinka
VMware Employee
VMware Employee

Tom,

what exactly do you mean by "pull off", can you elaborate a bit.

also are you focusing on customUI of vsphereUI

Reply
0 Kudos
tomford
Contributor
Contributor

Sorry for the confusion, I would like to list out the VMs running on a group of specific datastores.. I would also like to export that list into CSV format..

Reply
0 Kudos
gradinka
VMware Employee
VMware Employee

a-ha-

you may create a group of VMs for example, by using parent/child relationship

Reply
0 Kudos
TBKing
Enthusiast
Enthusiast

Outside of vCops, you can use a utility called RVTools

Reply
0 Kudos
tomford
Contributor
Contributor

Awesome.

I can't figure out how to get parent/child to work on the group I created in the UI. The group is based off datastore name.. I was expecting that to be the parent, but I can't figure out what would be the child.. I assume it was the VM attribute.

I'm looking at RVTools now also..

Reply
0 Kudos
gradinka
VMware Employee
VMware Employee

try this rule with 2 criterias:

----------------------------

- Select "All" objects
- "Parent Of" equals "<your datastore name>"

add new criteria

- Select "All" objects

- "Object type" equals "Virtual machine"

----------------------------

Reply
0 Kudos