You could use a FOR, but you could also create a file named servers.txt
that contains:
server1
server2
server3
server4
and run this command:
c:\pstools\psexec @servers.txt ...your command...
PsExec will execute the command on each of the computers listed in the file. Please see the psexec documentation here, and see the @file
parameter.