Hi,
I am using WMI for registering events (VM Creation event) on multiple hyper-v hypervisors.
I need to handle an event when ever a new VM is created on any of the Hypervisor.
Here, i am able to get the VM creation event. But i am not able to get the hypervisor name(Host Name) of the new VM.
I am using VMM and powershell to get the list of VMs/hosts. But in VMM it takes 2 min (approx) to update a new VM creation.
Is there any way to get the hypervisor details from the event using WMI?
Any help is appreciated.
Regards,
-Hari