Wshpipe returns an array... so you will either have to loop through the results or target the specific line you want.

for each $result in wshpipe("yourcommandhere")
? $result
next

or
$results=wshpipe("yourcommandhere")
$result0=$results[0]
$result1=$results[1]
;...


WSHPipe -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=83201

The rest of the UDFs are here -
http://www.kixtart.org/forums/ubbthreads.php?ubb=postlist&Board=7&page=1

How to use UDFs -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=81943#Post81943


Edited by Allen (2010-07-16 04:15 PM)
_________________________
(... better days ahead)