list all VM path

Is there an easy way to get all your virtual machines and exactly where they reside (path), be that locally or on a SAN? in a single report?

also, how are vm's registered within vcenter. is it possible that you could have more vm's in your environment than are listed within vcenter?
LVL 3
pma111Asked:
Who is Participating?
 
Alex Green3rd Line Server SupportCommented:
Check out RVTools, that should give you what you want.

http://www.robware.net/

Regards

Alex
0
 
pma111Author Commented:
will do , thanks. can you export reports from rvtools, could do with exporting to csv or similar for a report..
0
 
Alex Green3rd Line Server SupportCommented:
Yes you can, it's a really simple application to use actually, put in your VM Farm and then log in, you can export via file -> export all to CSV :D

Regards

Alex
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
pma111Author Commented:
Thanks alex, will give it a go..
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You could have more VMs on disks, that are not registered, but you will not be able to Power Them ON, without registration.

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/

The VMware Community Pack is a list of PowerCLI scripts, which will show you the location of VMs, but it will also show your VMDK (VMs) that are orphaned, and not registered!
0
 
Robin CMSenior Security and Infrastructure EngineerCommented:
Re. your second question, it's unlikely that you'll have VMs that are not registered in vCenter, but not impossible. It comes down to how you manage your environment.
As far as I know, you can't have a running VM on a vCenter-managed host and have the VM NOT show in vCenter.
You can however have powered off VMs sitting on datastores that do not show as registered to a host/vCenter. (e.g. if you manually copy the files onto the datastore or choose the "remove from inventory" option on a VM)
Of course, if you have hosts that are not registered to vCenter then you'll not see their running VMs either.
You could write a script to search for *.vmx files across all your datastores and then check that this ties up with the VMs shown in vCenter - or write a more complicated script to do the comparison for you. Note that the folder and/or vmx file might not have the same name as the VM has when seen on a host or in vCenter (the name is stored within the .vmx file).
Hope that helps.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.