Skip to main content


Showing posts from April, 2015

PowerCli - Get-StatType

I had to produce a report to gather some statistics information over a period of time where you would normally see in the performance charts within vCenter. Using powercli you would normally run the command "get-stats" followed by the type of statistics you would like to gather. Using "Get-StatType" helped by letting you know what type of statistics you could gather from a particular object, for example "Get-StatType -Entity %Enter Your VM Name%" would return a list of possible statistics you can get for your VM. The type of entity you can query against are Virtual Machine, Virtual Machine Host, Cluster or Resource Pool.