Thanks,
I tried both ,nothing seems to work.
The current code is:
strUser="operator"
strUser=""'.\" & strUser& "'"
strPassword="colorserver"
strCommandLine=PPSSwitchStream
for i = 1 to Configuration '1-8'
strComputer="150.101.101." & i & "1"
str2Run=SCISYS & "\Exec\Bin\RemoteStart.wsf " & _
chr(34) & strUser & chr(34) & " " & _
chr(34) & strPassword & chr(34) & " " & _
chr(34) & strComputer & chr(34) & " " & _
chr(34) & "CMD /C %SCISYS%\Exec\Bin\StartProduct.wsf " & strCommandLine & chr(34)
res=WSHShell.Run(str2Run , 2 ,FALSE)
FReturn=ScriptLogger("Atetmpting to Remote start : " & _
chr(34) & strUser & chr(34) & " " & _
chr(34) & strPassword & chr(34) & " " & _
chr(34) & strComputer & chr(34) & " " & _
chr(34) & "%SCISYS%\Exec\Bin\StartProduct.wsf " & strCommandLine & chr(34) ,1)
next
else
FReturn=ScriptLogger("[HardwareConfigChange changed therfore avoiding RemoteStart for PPS(s)]",1)
end if
Long live king Moshiach !