title: vssadmin and powershell object to array
body: <p>I have been thinking to pull some data of the on a regular basis from our servers. I have done some researches and to find out which server is running VSS on what disk I found it challenging - or just hasn't found the right command. </p>
  
  <p>The closes I got is this: vssadmin list shadowstorage but it is a powershell object that I can't figure out. WI get the result I need to search for strings like '(D:)' and get that line.</p>
  
  <p>I would like to pick the drive and the space information in an array format, please.</p>
  
  <pre><code>Shadow Copy Storage association
     For volume: (G:)\\?\Volume{68cefbec-f673-467d-95ac-7e442df77cdb}\
     Shadow Copy Storage volume: (G:)\\?\Volume{68cefbec-f673-467d-95ac-7e442df77cdb}\
     Used Shadow Copy Storage space: 2.91 GB (0%)
     Allocated Shadow Copy Storage space: 5.80 GB (0%)
     Maximum Shadow Copy Storage space: 400 GB (19%)
  </code></pre>
  
  <p>Edit:
  I would like to get these data out:</p>
  
  <pre><code>Computername: xxxxxxxsvr01 
  Drive (where VSS running on the drive): G:
  Allocated Shadows Storage space: 5.80GB
  Next run date: which I have no clue how to get it yet
  </code></pre>
  
  <p>All in a string array so I can play with it.</p>
  
  <p>If someone could bring some light on this dark topic I would much appreciated.</p>