pipe returns an array value...

$output = join(pipe("C:\pstools\psloggedon \\" + $computer),@crlf)

should turn it back into a string.