Generate system uptime report of VMs using PowerCLI

It is possible to return the system uptime of your VMs by retrieving the last statistical information for the metric ‘sys.uptime.latest’ in realtime using PowerCLI. For Example, to return the metric for the virtual machine ‘VM1’ we could run the following command: Get-Stat -Entity VM1 -Stat sys.uptime.latest -Realtime -MaxSamples 1 This will return the uptime … More Generate system uptime report of VMs using PowerCLI