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

Re: Need help with PowerCLI stats collection

$
0
0

Try passing an actual object to -Entity as it expects and not just a string

 

$vmhost = get-vmhost ESXi1

 

Get-Stat -stat datastore* -entity $vmhost -realtime

 

Now that i think about it.  That may be the problem is the datastore stats are realtime only.  So you need -Realtime.


Viewing all articles
Browse latest Browse all 217440

Trending Articles



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