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

Posted on 2014-08-30
Last Modified: 2014-08-30
Hi Experts,
We have this very important application working on a network, the thing is most users forget to close the application when going can we close all instances of our App in all stations comanding only from one station ??
Best regards!
Question by:rguillermo
    LVL 28

    Accepted Solution

    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";

    Open in new window


    Author Closing Comment

    it is very usefull,... thank you very , much!!

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now