title: Python WMI Hyper-v GetSummaryInformation result
body: <p>Im trying to retrieve information from all the available VMs on a Hyper-V Server. The problem is that when I ask for the summary information, i get a list of useless COMObjects.</p>
  
  <p>I can't find a way of getting the actual SummaryInformation values..</p>
  
  <p>Here's the code:</p>
  
  <pre><code>import wmi
  
  conn = wmi.connect_server(server="xxxx", user="xxxx", password="xxx", namespace=r"root\virtualization\v2")
  client = wmi.WMI(wmi=conn)
  mgs = client.Msvm_VirtualSystemManagementService()
  summaries = mgs[0].GetSummaryInformation()
  
  print summaries
  # (0, [&lt;COMObject &lt;unknown&gt;&gt;, &lt;COMObject &lt;unknown&gt;&gt;, &lt;COMObject &lt;unknown&gt;&gt;])
  </code></pre>
  
  <p>So I tried retrieving one VirtualSystemData to pass as parameter to getSummary</p>
  
  <pre><code>vs = h.Msvm_VirtualSystemSettingData()
  vs[0]
  #Out[34]: &lt;_wmi_object: \\WIN-Lxxxxxx\root\virtualization#\v2:Msvm_VirtualSystemSettingData.InstanceID="Microsoft:xxx-xxx-xxx-xxx"&gt;
  
  mgs[0].GetSummaryInformation([vs[0].ole_object])
  #Out[38]: (0, [&lt;COMObject &lt;unknown&gt;&gt;, &lt;COMObject &lt;unknown&gt;&gt;, &lt;COMObject &lt;unknown&gt;&gt;])
  </code></pre>
  
  <p>Any ideas?</p>