Domain Run is a NT Command line utility that has 2 main uses. The first is to run a generic command line statement for selected or all computers in a domain. The second is to run a process/program, remotely, on each computer in a domain. (The second option requires the purchase and use of the SMT Remote Management Service.)
Here are the command line options:
Reboot all workstations:
domrun -w -p 1000 -async -cmd shutdown.exe -parms "-r -t 10 -f -m \\%DR_COMP%"
Delete all TMP files on all workstations:
domrun -w -async -cmd cmd.exe -parms "/c del \\%DR_COMP%\C$\TEMP\*.tmp"