VMware Cloud Community
BoguslawB
Contributor
Contributor

script reporting space all zombies vmdk files consume

Hi scripting community,

I'm trying to get the list of zombie files (vmdk, templates,VMs) from all datastores I have in vcenter.

The goal is to have in xls listed files with actual file sizes they consume so I could add them up and see what amount of storage they take altogether.

Is that doable using PowerCli or other scripting method ? Does anyone have that kind of script or could share any tips & tricks ?

Regards

Slaw

0 Kudos
1 Reply
LucD
Leadership
Leadership

Have a look at Orphaned files and folders – Spring cleaning.

It places objects with orphaned files on the pipeline.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos