VMware Cloud Community
antoniogemelli
Hot Shot
Hot Shot

Get deep information about VM disks

Hello,

There is a way with powershell where I can get deeply information about disk in VMware?

Disk space: allocate/provisioned, cylinders..not sure if is possible to get this kind of info.

Tags (2)
Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

Did you already try something like this?

$esxcli = Get-EsxCli -VMHost MyEsx

foreach($dasd in ($esxcli.storage.core.device.list() | where{$_.DeviceType -eq 'Direct-Access'})){

    $esxcli.storage.core.device.physical.get($dasd.Device)

}


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

Reply
0 Kudos