[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

How to close all instances of an application in a network ?

Hi Experts,
We have this very important application working on a network, the thing is most users forget to close the application when going home...how can we close all instances of our App in all stations comanding only from one station ??
Best regards!
0
RGuillermo
Asked:
RGuillermo
1 Solution
 
becraigCommented:
I am not sure the approach you want to use for this, but you can use powershell:

$process = "Your process Name"
gc serverlist.txt | %  {
$Proc = Gwmi Win32_Process -ComputerName $ComputerName -Filter "name=$process";
$proc.terminate
}

Open in new window

0
 
RGuillermoProject ManagerAuthor Commented:
it is very usefull,... thank you very , much!!
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now