When running as a service the $status variable comes up empty, but in an interactive session it has the info I need. Any suggestions on how to get this information back? Also the service is running as a user with the permissions needed to execute the command. Thanks.$status=`rcmd \\\\$servers[$i] tlist $pid | findstr Working`;
In reply to Getting Results back from System Call by gtrattner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |