From: Cesarin on
Hello!

Does anybody knows how to execute the following command (and obtain
the results of the command) for several computers?

"C:\Program Files\EMC\PowerPath\powermt display dev=all"

thank you,

Cesar
From: Al Dunbar on


"Cesarin" <arevalosoft(a)gmail.com> wrote in message
news:d2dd7ffb-a496-4563-9464-9f1d41f43cab(a)r27g2000yqn.googlegroups.com...
> Hello!
>
> Does anybody knows how to execute the following command (and obtain
> the results of the command) for several computers?
>
> "C:\Program Files\EMC\PowerPath\powermt display dev=all"
>
> thank you,

1. To execute that command, you could either type it in a command prompt
window, or enter it into a batch file and run the batch file by typing its
name or double-clicking on it.

2. assuming for a moment that the command itself displays information about
only the computer it is running on, to obtain the results from other
computers, you would need to run it on the other computers.

To achieve what you want, you might be able to use PSEXEC to run the program
remotely. But that would only work if the program displayed its output on
stdout; if it rendered its results graphically, that would be a whole nother
thing.

/Al