|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
[VBScript] Query
Hey guys,
I've never used to much VBS and all I really know is batch and a little of delphi and pascal so I was wondering if it's possible to do the following in a VBscript 1. Kill a process remotely 2. Start the process again I can get services with a remote or local batch file but seeing as it's a process I need my monitoring tool to run the program locally so that it can remotely close the process, their may be an even easier way and If so I'm glad to hear it ! Also fi you have any quick links to basic VBScripting that'd be awesome Cheers, Rosca. |
|
#2
|
||||
|
|
||||
|
This can be achieved by implementing WMI in your VBScript. Check out my article.
Working with System Processes in WSH.
__________________
Click the image if at any point you don't like my decision.Scripting problems? Windows questions? Ask the Windows Guru! |
|
#3
|
|||
|
|||
|
Thanks heaps, gonna go through it now.
|
|
#4
|
||||
|
|
||||
|
No problem. That should get you started.
|
![]() |
| Viewing: ASP Free Forums > System Administration > Windows Scripting > [VBScript] Query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|