Hi,
I need to retrieve on a ESXi 6.0 host the HDD information (size in GB , numbers of disks installed...). How can I achieve that with POWERCLI
Thks
JJC
Does this give you the info you are looking for?
This doesn't show all the available fields, there are others.
$esxcli = Get-EsxCli -VMHost MyEsx
$esxcli.storage.core.device.list() |
where{$_.DeviceType -eq 'Direct-Access'} |
Select Device,DisplayName,DevFSPath,Vendor,Model,Revision,Size
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Does this give you the info you are looking for?
This doesn't show all the available fields, there are others.
$esxcli = Get-EsxCli -VMHost MyEsx
$esxcli.storage.core.device.list() |
where{$_.DeviceType -eq 'Direct-Access'} |
Select Device,DisplayName,DevFSPath,Vendor,Model,Revision,Size
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thks LuycD
This is what I am looking at
JJC