VMware Cloud Community
Venkat_A
Enthusiast
Enthusiast

Script to check the Drive space!!

Hi I need a script to check the drive space on vm's which are less than 40%. Can someone help me?

0 Kudos
1 Reply
Borja_Mari
Virtuoso
Virtuoso

Hello,

check this:

Report VM's Guest disks with less than 20% free space using powercli

Just change "$PercentFree -lt 20" by "$PercentFree -lt 40" ...

Smiley Wink


Best regards,

Pablo

------------------------------------------------------------------------------------------------- PLEASE CONSIDER AWARDING any HELPFUL or CORRECT reply. Thanks!! Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA . ¡¡Muchas gracias!! VCP3, VCP4, VCP5-DCV (VCP550), vExpert 2010, 2014 BLOG: http://communities.vmware.com/blogs/VirtuallyAnITNoob
0 Kudos