How to track Azure Lab VM Uptime

Copper Contributor

We recently set up a lab for testing a new product. In this lab we have around 20 VMs which are used irregulary, and we would like to know how long each vm was running for x period

Like usage over the last month

VM1 6h

VM2 2h

and so on

Is this possible without much effort?

1 Reply

@ChristopherRoosi Hi Christopher, VM usage can be tracked from the labs portal. please refer to this for more information - Track usage of a lab in Azure Lab Services - Azure Lab Services | Microsoft Learn. In scenarios like when Educator turns on a VM or VM gets turned on with a schedule, the usage hours will not be captured over here.