Stop console service remotely RRS feed

  • Question

  • Hello Everyone,

    Hope all is well.

    I am new to VB. I have a question on shutting down the applications running on a remote servers. 

    By applications I meant they are services running from a console on remote servers and all I want to is to stop the service. Currently I am logging in to the server and hitting an enter key to stop this service running from console but the problem is I have almost like 37 VMs and I had to logon to each inividual VM server and hit enter, so I want to do this through a vbscript and have it executed on all the remote VMs through psexec. I also have VB 6 and VB 8 applications running which I want to stop as well(I dont want to kill anything but stop). 

    Did anyone come up with such a scenario. I need your valuable inputs.

    Thanks a bunch in advance.
    • Moved by Jie Bao Friday, January 20, 2012 7:54 AM (From:Visual Basic General)
    Wednesday, January 18, 2012 2:31 PM

All replies