i was wondering, as the title say. how to get just the string from a row in a powershell table.
so to simplify it, lets say i have a variable called $Fruits
that returns this:
Fuits
-----
Banana
Apple
Watermelon
Peach
Pineapple
How would i go about printing JUST the word "Apple"?
i know i can use $Fruits[1], however that returns another table.
Fuits
-----
Apple
How would i get JUST the word apple from here?