

The report tells me if the disks are Thin or Thick and what size they are i GB.Īfter some magic in Excel it looks like this 🙂Īnd the powerCLI script looks like this, it is quite simple but still gives me information that i need for all my VMs on all datastores and quickly i can tell which machines that uses a lot of disk on my precious SAN 😉Īdd-Member -InputObject $into -MemberType NoteProperty -Name VMname $VM.NameĪdd-Member -InputObject $into -MemberType NoteProperty -Name Datastore $(']').TrimStart('').TrimStart('[')Īdd-Member -InputObject $into -MemberType NoteProperty -Name StorageFormat $VMDK.StorageFormatĪdd-Member -InputObject $into -MemberType NoteProperty -Name CapacityGB $CapacityGB I have created a simple report-script that gives a list of what kind of format and how many vmdk each VM has.
