Discussion Forums/AA Console/Questions

Answered

Remote Command on single computer fails - multiple computers OK

Adam Ruth
asked this on November 13, 2009 14:20

When running a remote command on a single computer, I receive a message that "mycommand.cmd  is not recognized as an internal or external command, operable program or batch file."

When running the same command on multiple computers, it completes without any problem.    Huh

No big deal, but thought it was odd.

 

Comments

User photo
Adam Ruth
Admin Arsenal

The difference you're seeing is a weakness with tasks and remote commands. When you run a remote command on an individual computer you see the output of the command with no interpretation (i.e. Admin Arsenal doesn't try to determine if the results are a success or a failure.) However, when you send a command to multiple computers, the success status is based on whether the remote computer could be contacted, not on the success of the remote command itself (this is because of the difficulty in determining what output is to be considered a success and what is to be considered a failure.) Though there are some obvious cases like the missing batch file you encountered which should be reported as an error (I've created an enhancement request for it.)

When you send a remote command to multiple computers you can see the output of each by right-clicking on the computer in the task window and clicking "See Output..."

November 13, 2009 14:20
User photo
Adam Ruth
Admin Arsenal

Thank you for the clarification, Adam!

Ken

November 13, 2009 14:20
User photo
Adam Ruth
Admin Arsenal

You're welcome, thanks for pointing out the discrepancy.

November 13, 2009 14:20