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