title: Get-WmiObject without PowerShell
body: <p>I am writing a Windows python program that needs to query WMI. I am planning to do this by using the subprocess module to call <code>WMIC</code> with the arguments I need.</p>
  
  <p>I see a lot of examples online of using WMI via PowerShell, usually using the "commandlet" <code>Get-WmiObject</code> or the equivalent <code>gwmi</code>.</p>
  
  <p>How do you do the equivalent of <code>Get-WmiObject</code> without using PowerShell, but rather with <code>WMIC</code>?</p>
  
  <p>Specificially, from within CMD.EXE, I want to do <code>powershell gwmi Win32_USBControllerDevice</code>, but without using powershell; rather, I want to invoke <code>WMIC</code> directly.</p>
  
  <p>Thanks, and sorry for the beginner question!</p>