Display server (windows server) status on dashboard

There are several virtual machines that are used for automation. It would be helpful to know which virtual machines are occupied and by which users. It’s possible to query a virtual machine from the command line and get the session status. We would like to run the query periodically and have the data displayed on a dashboard.

The command line command is: query user /server:servername

i want to create dashboard something like attached image, if someone can guide me to the process??