title: Deleting a NIC using wmic
body: <p>I am trying to remove a lot of Virtualbox NICs that were created with docker toolbox using the command line (clicking them one for one is too much work and I will probably need to do this more in the future). So far I have the following command:</p>
  
  <pre><code>wmic nic where Description="VirtualBox Host-Only Ethernet Adapter" delete /INTERACTIVE
  </code></pre>
  
  <p>Interactive is there so I can double check. However when it tries to delete the first adapter I get the following error:</p>
  
  <pre><code>ERROR: 
  Description = Provider is not capable of the attempted operation
  </code></pre>
  
  <p>I am executing this command as administrator. </p>
  
  <p>How can I delete these (virtual host only) NIC's?</p>