This is the code that I have in the script to do the following:


$SystemList = Split("ych-ctrx1|ych-ctrx2|ych-ctrx3","|")
If AScan ($SystemList, @WKSTA)>=0
;Do nothingElse
Use o: /Delete /Persistent
use o: "\\ychs2kmanage\officescan"
shell "o:\pccsrv\autopcc.exe"
EndIf


Thanks