Link to home
Start Free TrialLog in
Avatar of KidsTrainingTeam
KidsTrainingTeamFlag for Afghanistan

asked on

PSEXEC not running simultaneously on more than one machine

I am using PSEXEC utility to run certain programs remotely. e.g. I am running DEFRAG using PSEXEC. I want to run it on multiple machines AT A TIME but PSEXEC runs it on one machine at a time.

I type in
psexec //computer1, computer2, computer3 defrag c: /f /v

I want psexec to start defrag on all three machines but starts on only one of them. When it is done with the first one, then it goes on with the second one.

Is there any way I can run it simultaneously on three or more machines??
Avatar of aissim
aissim
Flag of United States of America image

I believe the /d switch is what you need to use.

It tells psexec to not wait for the process to complete before moving on...
ASKER CERTIFIED SOLUTION
Avatar of smilerz
smilerz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial