title: Querying partitions/drives on a remote server with WMI
body: <p>I do the following to check for local drives/partitions on a remote computer:</p>
  
  <pre><code>Get-WmiObject -Class Win32_Share -ComputerName SERVERNAME -Filter "Description='Default share'"
  </code></pre>
  
  <p>but the command also returns CD-roms etc.
  Is there a command to only return disk/partitions?</p>