also, you have novarsinstrings set, so you probably want to change you $shell var in WSHPing to

$shell='%comspec% /c %windir%\system32\ping ' + $Computer + ' -n ' + $replies

Right now WshPipe is trying to ping $Computer (literally) and same with $replies. I made that change and the ping portion of the script started working.
_________________________
Eric