I am looking as the title says to kill a process (for example name.exe) on multiple remote machines. I can do it individually using pskill or taskkill using (for example): pskill -t \ -u -p name.exe but this becomes impractical with 50+ machines.
Is there a way to make it read a text file of IP Addresses like psexec does using the @C:\name.txt or in powershell or something similar?
All devices are on the same domain. Thank you in advance for your help.