All,
I need a script to list all my datastores, capacity, and VMFS format.
This is what I have so far but its not giving me the output I need.
Get-Datastore -Datacenter MN_PROD | where {$_.Type -eq "VMFS"} | Select-Object Name,@{N="VMFS version";E={$_.Info.Vmfs.Version}}
Try like this
Get-Datastore -Datacenter MN_PROD |
where {$_.Type -eq "VMFS"} |
Select-Object Name,CapacityGB,
@{N="VMFS version";E={$_.FileSystemVersion}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Try like this
Get-Datastore -Datacenter MN_PROD |
where {$_.Type -eq "VMFS"} |
Select-Object Name,CapacityGB,
@{N="VMFS version";E={$_.FileSystemVersion}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference