title: Find share sizes across multiple servers -powershell
body: <p>I have about 1600 old home drives that I need to capture the folder sizes on.  They are spread across 12 NAS Appliances and I need to get the size of each folder.  I see this asked a lot but they are always asking  for all the shares on a single server.</p>
  <p>I have used simple one-liners like the the one below which work great.</p>
  <pre><code>Get-ChildItem \\Server1\Users\User1 -file -recurse | Measure-Object -Sum Length
  </code></pre>
  <p>How can I feed in a txt or csv from multiple locations?</p>
  <p>Like</p>
  <pre><code>\\Server1\Users\User1
  \\Server2\Users\User1
  \\Server3\Users\User1
  \\Server4\Users\User1
  \\Server5\Users\User1
  \\Server6\Users\User1
  \\Server7\Users\User1
  etc...
  </code></pre>
  <p>Exporting to a csv would be nice as well.</p>
  <p>thanks!!</p>