For example, I have csv file and then imported to PowerShell:
$animal = Import-Csv “animal.csv”
$animal
Output is:
Animal ------ Bird cat dog
I would like to convert to array value, i.e. I would like to put these "bird","cat","dog" in array, basically like this:
$newanimals = "Bird","Cat","Dog"
How can I do that?