title: powershell get content from command output
body: <p>i have output from external command, like as:</p>
  
  <pre><code>Status  Pool name                 Media Type        MS   # of media   Free [MB]
  ===============================================================================
  Good    pool1           LTO-Ultrium       No         303   298066893
  Good    pool2           LTO-Ultrium       No           1     1525878
  Good    pool3           LTO-Ultrium       No         282   348735361
  Good    pool4           LTO-Ultrium       No         473   588150645
  </code></pre>
  
  <p>i need parse in PowerShell "pool1", "pool2", "pool3" ... and run command in foreach... any idea for this, without exporting output to xml, csv &amp; etc ?
  thanks</p>
  
  <p>and, Q2,
  is here same, or similar way for parsing these:</p>
  
  <pre><code>Good   [QGHL5MMA] QGHL5MMA              [pool1:   322]            No   None              
  Good   [QGHL5N2Y] QGHL5N2Y              [pool1:   922]            No   None              
  Good   [QGHL5MUL] QGHL5MUL              [pool1:   621]            No   None              
  </code></pre>
  
  <p>From this output, i need only text from column 5 ( 322, 922, 621... ). thanks again</p>