Quantcast
Channel: VMware Communities : Discussion List - ESXi
Viewing all articles
Browse latest Browse all 8132

Script for VM HDD type, usage and freespace

$
0
0

Hi All,

I was looking for a script which can give VM's StorageType (Thick or Thin), Usage, available space(in GB)

 

I got the command given below where i can get storagetype, Capacity, But i need the VM's used and free space also..

get-vm | Get-harddisk | Select-Object  -Property Parent, Name, StorageFormat, CapacityGB

 

Thanks a ton in advance.


Viewing all articles
Browse latest Browse all 8132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>