Solved

list all VM path

Posted on 2014-02-05
6
387 Views
Last Modified: 2014-02-05
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?
0
Comment
Question by:pma111
6 Comments
 
LVL 7

Accepted Solution

by:
alexgreen312 earned 500 total points
ID: 39836138
Check out RVTools, that should give you what you want.

http://www.robware.net/

Regards

Alex
0
 
LVL 3

Author Comment

by:pma111
ID: 39836147
will do , thanks. can you export reports from rvtools, could do with exporting to csv or similar for a report..
0
 
LVL 7

Expert Comment

by:alexgreen312
ID: 39836161
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 3

Author Comment

by:pma111
ID: 39836165
Thanks alex, will give it a go..
0
 
LVL 119
ID: 39836167
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
 
LVL 14

Expert Comment

by:robincm
ID: 39836210
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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
vmware ver 6.5 8 80
How to move multiple VMs in VSCA 6.0 4 33
Live Storage Vmotion VMs with shared VMDK 10 51
VMWare 6.5 4 44
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now