Good morning.
When I create the Hyper-V dashboard, I see several columns .
I would like to know where the information comes from "Operational Status" and "Health" ?
Is there a command on windows where I can get the exact same information ?
I need this because, on the OperationalStatus, showed me once "in service", and I would like to know what it means.
Thanks
Hello,
We use the following WMI query to get the computers of the HyperV host: select * from Msvm_ComputerSystem
This gives multiple Msvm_ComputerSystem objects, for which you can find the MSDN documentation here: https://docs.microsoft.com/en-us/windows/win32/hyperv_v2/msvm-computersystem
For Health, there are only three states, OK, Major Failure and Critical Failure, you can see the description for each on MSDN.
As for OperationalStatus, there are a lot more possible cases. For "In service", it means the virtual machine is processing a request. You can see the other statuses as well on the documentation.
I hope this helps you. If you have any other questions feel free to ask!
Regards,
Hubert Mireault
Thanks!!!
That will help me to debug the machine and find the porblem.