VMware Cloud Community
phowarth
Contributor
Contributor

VM Report that includes drive sizes

I want to produce a report on all VM's in my vCenter that will produce the Machine Name, OS, and Drive Sizes (all attached vmdks). The vCenter client doesn't allow us to do that. What's the best way to get a report like that? Is there a free third party tool?

-Pete

0 Kudos
2 Replies
wila
Immortal
Immortal

The best way to do that is probably by running a powershell script.

For example, have a look at the following one:

http://www.peetersonline.nl/index.php/vmware/get-vmware-disk-usage-with-powershell/

but you might also want to look here for more examples:

http://www.vi-toolkit.com/wiki/index.php/PowerCLI:_Oneliners



--

Wil

_____________________________________________________

VI-Toolkit & scripts wiki at http://www.vi-toolkit.com

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos
lamw
Community Manager
Community Manager

You also accomplish this with this script:

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos