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

Re: custom grupping in get-stat command

$
0
0

I would do something like this

 

Group-Object-Property {[int]($_.Timestamp.Hour/2)}

But note that if your metrics span over more than 1 day, this will place metrics from different days, but from the same 2-hour interval, in the same group.


Viewing all articles
Browse latest Browse all 232869

Trending Articles



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