title: Get Total Hard Disk Space of Remote Machine Using WMIC
body: <p>I need to determine "TOTAL" hard disk space of the remote Windows host using <code>wmic</code> call.</p>
  
  <p>I have tried executing <code>wmic /node:&lt;IP-ADDRESS&gt; diskdrive get Size</code> on some systems. For most of the systems, it worked well. But, for a few of them, it displayed multiple values, which are the total sizes of the partitions available.</p>
  
  <pre><code>H:\&gt;wmic /node:172.22.248.112 diskdrive get size
  Size
  36273484800
  293621594112
  </code></pre>
  
  <p>In order to get unique value for the total hard disk space (addition of sizes of all partitions), what should be done?</p>