Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 219257

Grt VM Details include HDD type and size in a cluster

$
0
0

Hello,

 

I´m new to this stuff, I´m wondering if anybody has already done some scripting work to gather a list of all virtual machines including HDD details like allocated disk size, Used Disk Size, Free Disk, its corresponding datastore(s) in a cluster.

IF the scirpt can get the details like it;s thin or thick will be great, i am looking here to get the HDD deatils of all the VM so that the space provided to the VMs can be revoked if it more than 100 GB or 200 GB.

 

As i am new so i tried with below but not getting the output which i am looking for.

 

Get-Cluster"Cluster Name"| Get-VM |Get- Harddisk

 

get-cluster "Cluster 1" |get-VM -name *|Get-Harddisk


Viewing all articles
Browse latest Browse all 219257

Trending Articles



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