title: How can I set variables from a line of a CSV file that has other lines
body: <p>I have found numerous way to do this for setting using all of CSV, either from export-csv or from a CSV file that has only what they need.  I have a pretty large file with multiple lines. Import-CSV with the proper heading parameter separates the each line into proper groupings, but I only need on line from the CSV file.</p>
  
  <p>What I am trying to do is request input from user about a location number for any number of our locations. The CSV file starts each line with the location number, so I have used select-string to get only the line that I need but I'm not sure how to pipe that to import-csv to then use the header names to set variables to each header content.  </p>
  
  <p>If there is a better way to do this, please fill me in, but I am lost at the moment.</p>