Set input parameters for "GetSummaryInformation" method of "Msvm_VirtualSystemManagementService" - VC++
hi,
want guest os name of running vms on hyper-v server.
using vc++ achieve task.
following steps completed successfully.
1.coinitializeex
2.coinitializesecurity
3.cocreateinstance
4.connectserver
5.cosetproxyblanket
6.getobject of class "msvm_virtualsystemmanagementservice"
7.getmethod "getsummaryinformation"
8.spawninstance
how set input parameters "getsummaryinformation" & call "execmethod" same.
don't idea c# code sample.
thanks,
d v
want guest os name of running vms on hyper-v server.
using vc++ achieve task.
following steps completed successfully.
1.coinitializeex
2.coinitializesecurity
3.cocreateinstance
4.connectserver
5.cosetproxyblanket
6.getobject of class "msvm_virtualsystemmanagementservice"
7.getmethod "getsummaryinformation"
8.spawninstance
how set input parameters "getsummaryinformation" & call "execmethod" same.
don't idea c# code sample.
thanks,
d v
hi,
unfortunately, c++ knowledge very low, can't that. think should have better luck @ msdn forums this:
http://social.msdn.microsoft.com/forums/en-us/categories
however, if know how execute wmi query using vc++, query msvm_summaryinformation wmi class, using either elementname (name see in eg. hyper-v manager), or name (guid). return guest os, if @ guestoperatingsystem field.
kind regards,
floris van der ploeg
unfortunately, c++ knowledge very low, can't that. think should have better luck @ msdn forums this:
http://social.msdn.microsoft.com/forums/en-us/categories
however, if know how execute wmi query using vc++, query msvm_summaryinformation wmi class, using either elementname (name see in eg. hyper-v manager), or name (guid). return guest os, if @ guestoperatingsystem field.
kind regards,
floris van der ploeg
Windows Server > Hyper-V
Comments
Post a Comment