When you go to the performance tab of a datastore you can see the graph of allocated and used space over a time range.
How do you access these stats via powercli?
get-stattype -entity * doesn't seem to return any stat types for datastores
the point of this is i'm trying to script a report that shows the datastore usage percentage over the last 7 days
e.g, 80%, 81%, 82%, 82%, 82%, 83%, 83%