VMware {code} Community
Ashwin89
Contributor
Contributor

getting the size for all the virtual machine files

hello,

Is there any way in vsphere API to get the size of all the files like for (.vmx/.nvram/.log)?

I dont want to copy them on the box and check the size.

-AsHwIN

0 Kudos
1 Reply
lamw
Community Manager
Community Manager

Take a look at this script:

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

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

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

VMware Developer Comuunity

Twitter: @lamw

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

0 Kudos