title: How to parse/pipe cmd line output using Powershell to an object
body: <p>I have an *.exe that outputs this data when I run this PowerShell command:</p>
  
  <p><code>&amp; $myExe list</code></p>
  
  <p>Where <code>$myExe</code> is something like <code>C:\Temp\MyExe.exe</code> and <code>list</code> is an argument.</p>
  
  <pre><code>List of Runbook ID on the system: 
  
  
  
  List of services installed on the system: 
  
  ALMService   Version: 7.0.4542.16189
  AOSService   Version: 7.0.4542.16189
  BIService    Version: 7.0.4542.16189
  DevToolsService  Version: 7.0.4542.16189
  DIXFService  Version: 7.0.4542.16189
  MROneBox     Version: 7.1.1541.3036
  PayrollTaxModule     Version: 7.1.1541.3036
  PerfSDK  Version: 7.0.4542.16189
  ReportingService     Version: 7.0.4542.16189
  RetailCloudPos   Version: 7.1.1541.3036
  RetailHQConfiguration    Version: 7.1.1541.3036
  RetailSDK    Version: 7.1.1541.3036
  RetailSelfService    Version: 7.1.1541.3036
  RetailServer     Version: 7.1.1541.3036
  RetailStorefront     Version: 7.1.1541.3036
  SCMSelfService   Version: 7.1.1541.3036
  </code></pre>
  
  <p>The data I'm looking for is the first column of the table, but it has things like <code>List of Runbook ID...</code> at the top. Is there a good way in PowerShell to parse this data so I can get just the table data?</p>