title: Extract a table from plain text file using Powershell
body: <p>I'm new to Powershell and need help in extracting table data that is there in a plain text file.</p>
  
  <p>The plain text file data is in the below format.(Tab Separated)</p>
  
  <p>Header1 Header2 Header3</p>
  
  <p>Val1    Val2    Val3</p>
  
  <p>Now, I want to extract this data and populate the variables like below.</p>
  
  <pre><code> $Header1 = "Val1"
   $Header2 = "Val2"
   $Header3 = "Val3"
  </code></pre>
  
  <p>Please help me with the right approach.</p>