This command dod the trick, but I still need to count if possible please.
get-vmhost | select name, @{N="Datastore"; E={Get-Datastore -VMHost $_}}
This command dod the trick, but I still need to count if possible please.
get-vmhost | select name, @{N="Datastore"; E={Get-Datastore -VMHost $_}}