Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251313

Re: working with PowerCLI arrays question...

$
0
0

That top line are the names of the properties in the Datastore object that are displayed by default.

That doesn't explain the 5th line.

But is that a blank line at the end ?

Can you do

Get-Cluster $clustername | Get-VMHost | Select -First 1 | Get-Datastore | Measure-Object | Select -ExpandProperty Count

That should say how many datastores are returned for the 1st host in the cluster.

You could also do something similar for the 2nd host in the cluster.


Viewing all articles
Browse latest Browse all 251313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>