Source
Get-Content filename | ForEach-Object { $_.Split(" ")[1] }($_ might not be a string, in which case it needs to be converted to one using $_.toString())
Source
Get-Content filename | ForEach-Object { $_.Split(" ")[1] }($_ might not be a string, in which case it needs to be converted to one using $_.toString())